mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 23:57:26 +00:00
Re-run clang-format with version 18
This commit is contained in:
parent
355a8ab62b
commit
650f19a33c
10 changed files with 70 additions and 135 deletions
|
@ -53,7 +53,10 @@ static GLint compile_shader(GLuint program, GLuint shader_type, const GLchar *co
|
|||
glGetIntegerv(ParamName, (GLint *)&saved_value); \
|
||||
BindingFn(TargetName, new_value); \
|
||||
} \
|
||||
~StructName() { BindingFn(TargetName, saved_value); } \
|
||||
~StructName() \
|
||||
{ \
|
||||
BindingFn(TargetName, saved_value); \
|
||||
} \
|
||||
}
|
||||
|
||||
DEFINE_SCOPED_BINDING(ScopedTextureBinding, GL_TEXTURE_BINDING_2D, glBindTexture, GL_TEXTURE_2D);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue