diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-17 16:02:01 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-17 16:02:01 +0200 |
commit | eb20a68b323c1fcb75492f8132e1bd6d321713ec (patch) | |
tree | 15917249d760675a47c1ecd07a80dd77165ca14c /platform/linuxbsd/x11/gl_manager_x11.cpp | |
parent | cf50779ef80c6158f2af72bbcc250731151c7c0f (diff) | |
parent | 29348be0cad371a0e2322d82d9a67031a90e9fa2 (diff) | |
download | redot-engine-eb20a68b323c1fcb75492f8132e1bd6d321713ec.tar.gz |
Merge pull request #93239 from Calinou/gl-vsync-tweak-warnings
Tweak warning messages related to V-Sync on OpenGL
Diffstat (limited to 'platform/linuxbsd/x11/gl_manager_x11.cpp')
-rw-r--r-- | platform/linuxbsd/x11/gl_manager_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/gl_manager_x11.cpp b/platform/linuxbsd/x11/gl_manager_x11.cpp index febb7ae584..738ebffa02 100644 --- a/platform/linuxbsd/x11/gl_manager_x11.cpp +++ b/platform/linuxbsd/x11/gl_manager_x11.cpp @@ -357,7 +357,7 @@ void GLManager_X11::set_use_vsync(bool p_use) { GLXDrawable drawable = glXGetCurrentDrawable(); glXSwapIntervalEXT(disp.x11_display, drawable, val); } else { - WARN_PRINT("Could not set V-Sync mode. V-Sync is not supported."); + WARN_PRINT_ONCE("Could not set V-Sync mode, as changing V-Sync mode is not supported by the graphics driver."); return; } use_vsync = p_use; |