mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #68727 from akien-mga/GLES3-glx-swap-interval-fix
X11: Don't override glxSwapInterval function pointers loaded by GLAD
This commit is contained in:
commit
89a33d28f0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user