src/glcontext.c

changeset 149
560772519ff9
parent 144
43636d6a6e25
--- a/src/glcontext.c	Fri Jun 13 18:09:49 2025 +0200
+++ b/src/glcontext.c	Sat Jun 14 11:40:40 2025 +0200
@@ -34,8 +34,8 @@
 
 static void asc_gl_debug_callback(
         GLenum source, GLenum type, GLuint id, GLenum severity,
-        GLsizei length, const GLchar* message,
-        __attribute__((__unused__)) const void* userParam
+        GLsizei length, const GLchar *message,
+        __attribute__((__unused__)) const void *userParam
 ) {
     if (type == GL_DEBUG_TYPE_ERROR) {
         asc_error("OpenGL source = %d, id = %u, type = %d, severity= %d, message = %.*s",
@@ -74,7 +74,7 @@
 bool asc_gl_context_initialize(
         AscGLContext *ctx,
         SDL_Window *window,
-        AscGLContextSettings const *settings
+        const AscGLContextSettings *settings
 ) {
     SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
     SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, settings->gl_major_version);

mercurial