1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

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

Fixes #68722.

Co-authored-by: alcomposer <alex.w.mitchell@gmail.com>
This commit is contained in:
Rémi Verschelde
2022-11-16 10:03:32 +01:00
parent 95a85c9058
commit 13280f1874

View File

@@ -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) {