Browse Source

egl: Patched to compile.

Yeehaw, cowboy committer!  :facepalm:
Ryan C. Gordon 3 months ago
parent
commit
2c3657a0ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/SDL_egl.c

+ 1 - 1
src/video/SDL_egl.c

@@ -1144,7 +1144,7 @@ SDL_GLContext SDL_EGL_CreateContext(SDL_VideoDevice *_this, EGLSurface egl_surfa
         }
         }
     }
     }
 
 
-    SDL_EGL_SetSwapInterval(0);  // EGL tends to default to vsync=1. To make this consistent with the rest of SDL, we force it off at startup. Apps can explicitly enable it afterwards.
+    SDL_EGL_SetSwapInterval(_this, 0);  // EGL tends to default to vsync=1. To make this consistent with the rest of SDL, we force it off at startup. Apps can explicitly enable it afterwards.
 
 
     return (SDL_GLContext)egl_context;
     return (SDL_GLContext)egl_context;
 }
 }