Skip to content

Commit 89a33d2

Browse files
committed
Merge pull request #68727 from akien-mga/GLES3-glx-swap-interval-fix
X11: Don't override glxSwapInterval function pointers loaded by GLAD
2 parents 846f671 + 13280f1 commit 89a33d2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

platform/linuxbsd/x11/gl_manager_x11.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,6 @@ Error GLManager_X11::initialize() {
330330
}
331331

332332
void GLManager_X11::set_use_vsync(bool p_use) {
333-
static PFNGLXSWAPINTERVALEXTPROC glXSwapIntervalEXT = nullptr;
334-
static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalMESA = nullptr;
335-
static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = nullptr;
336-
337333
// force vsync in the editor for now, as a safety measure
338334
bool is_editor = Engine::get_singleton()->is_editor_hint();
339335
if (is_editor) {

0 commit comments

Comments
 (0)