summaryrefslogtreecommitdiff
path: root/platform/windows/gl_manager_windows.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-10 15:09:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-10 15:13:05 +0100
commitb727061ce0256c079e6c4fa217aed53d58d4573c (patch)
tree49fb5dfd32d8596c039072ff101901daffd6b2f9 /platform/windows/gl_manager_windows.cpp
parente317e34c15cc0b2021198d6b53e515b29170c9f6 (diff)
Windows: Fix compilation warnings with GCC 11.2.1
Diffstat (limited to 'platform/windows/gl_manager_windows.cpp')
-rw-r--r--platform/windows/gl_manager_windows.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/windows/gl_manager_windows.cpp b/platform/windows/gl_manager_windows.cpp
index 98205d6282..1ce8b0b040 100644
--- a/platform/windows/gl_manager_windows.cpp
+++ b/platform/windows/gl_manager_windows.cpp
@@ -197,9 +197,6 @@ Error GLManager_Windows::window_create(DisplayServer::WindowID p_window_id, HWND
return FAILED;
}
- // the display could be invalid .. check NYI
- GLDisplay &gl_display = _displays[win.gldisplay_id];
-
// make current
window_make_current(_windows.size() - 1);