From 7bc37ec1a42b6d3ce2f2885c2df6d575f4d316d0 Mon Sep 17 00:00:00 2001 From: Moros1138 Date: Thu, 27 Oct 2022 22:42:50 -0400 Subject: [PATCH] fix glXSwapInternalEXT in Renderer_OGL33 --- olcPixelGameEngine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/olcPixelGameEngine.h b/olcPixelGameEngine.h index 5ec0c938..d34e4e54 100644 --- a/olcPixelGameEngine.h +++ b/olcPixelGameEngine.h @@ -4262,7 +4262,7 @@ namespace olc wglMakeCurrent(glDeviceContext, glRenderContext); // Set Vertical Sync - locSwapInterval = OGL_LOAD(locSwapInterval_t, "wglSwapIntervalEXT"); + locSwapInterval = OGL_LOAD(locSwapInterval_t, wglSwapIntervalEXT); if (locSwapInterval && !bVSYNC) locSwapInterval(0); bSync = bVSYNC; #endif @@ -4282,7 +4282,7 @@ namespace olc XGetWindowAttributes(olc_Display, *olc_Window, &gwa); glViewport(0, 0, gwa.width, gwa.height); - locSwapInterval = OGL_LOAD(locSwapInterval_t, "glXSwapIntervalEXT"); + locSwapInterval = OGL_LOAD(locSwapInterval_t, glXSwapIntervalEXT); if (locSwapInterval == nullptr && !bVSYNC) {