Bläddra i källkod

X11: Don't override glxSwapInterval function pointers loaded by GLAD

Fixes #68722.

Co-authored-by: alcomposer <[email protected]>
Rémi Verschelde 2 år sedan
förälder
incheckning
13280f1874
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      platform/linuxbsd/x11/gl_manager_x11.cpp

+ 0 - 4
platform/linuxbsd/x11/gl_manager_x11.cpp

@@ -330,10 +330,6 @@ Error GLManager_X11::initialize() {
 }
 }
 
 
 void GLManager_X11::set_use_vsync(bool p_use) {
 void GLManager_X11::set_use_vsync(bool p_use) {
-	static PFNGLXSWAPINTERVALEXTPROC glXSwapIntervalEXT = nullptr;
-	static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalMESA = nullptr;
-	static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = nullptr;
-
 	// force vsync in the editor for now, as a safety measure
 	// force vsync in the editor for now, as a safety measure
 	bool is_editor = Engine::get_singleton()->is_editor_hint();
 	bool is_editor = Engine::get_singleton()->is_editor_hint();
 	if (is_editor) {
 	if (is_editor) {