Skip to content

Commit 6120b5f

Browse files
authored
Merge pull request #304 from OneLoneCoder/patch-ogl33
fix glXSwapInternalEXT in Renderer_OGL33
2 parents d8a80d1 + 7bc37ec commit 6120b5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

olcPixelGameEngine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4333,7 +4333,7 @@ namespace olc
43334333
wglMakeCurrent(glDeviceContext, glRenderContext);
43344334

43354335
// Set Vertical Sync
4336-
locSwapInterval = OGL_LOAD(locSwapInterval_t, "wglSwapIntervalEXT");
4336+
locSwapInterval = OGL_LOAD(locSwapInterval_t, wglSwapIntervalEXT);
43374337
if (locSwapInterval && !bVSYNC) locSwapInterval(0);
43384338
bSync = bVSYNC;
43394339
#endif
@@ -4353,7 +4353,7 @@ namespace olc
43534353
XGetWindowAttributes(olc_Display, *olc_Window, &gwa);
43544354
glViewport(0, 0, gwa.width, gwa.height);
43554355

4356-
locSwapInterval = OGL_LOAD(locSwapInterval_t, "glXSwapIntervalEXT");
4356+
locSwapInterval = OGL_LOAD(locSwapInterval_t, glXSwapIntervalEXT);
43574357

43584358
if (locSwapInterval == nullptr && !bVSYNC)
43594359
{

0 commit comments

Comments
 (0)