summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/x11
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-16 10:03:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-16 10:05:52 +0100
commit13280f1874b7f9417c71f25f072e1cfbc1d9e7c9 (patch)
tree1c706d3fe38571ad418804668a8ded81c190612f /platform/linuxbsd/x11
parent95a85c9058e9c2a7eab3f5a272ffbe741a6750d1 (diff)
X11: Don't override glxSwapInterval function pointers loaded by GLAD
Fixes #68722. Co-authored-by: alcomposer <alex.w.mitchell@gmail.com>
Diffstat (limited to 'platform/linuxbsd/x11')
-rw-r--r--platform/linuxbsd/x11/gl_manager_x11.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/linuxbsd/x11/gl_manager_x11.cpp b/platform/linuxbsd/x11/gl_manager_x11.cpp
index 4d8d63c64a..bcefcf9695 100644
--- a/platform/linuxbsd/x11/gl_manager_x11.cpp
+++ b/platform/linuxbsd/x11/gl_manager_x11.cpp
@@ -330,10 +330,6 @@ Error GLManager_X11::initialize() {
}
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
bool is_editor = Engine::get_singleton()->is_editor_hint();
if (is_editor) {