From b727061ce0256c079e6c4fa217aed53d58d4573c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 10 Nov 2021 15:09:56 +0100 Subject: Windows: Fix compilation warnings with GCC 11.2.1 --- platform/windows/gl_manager_windows.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'platform/windows/gl_manager_windows.cpp') 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); -- cgit v1.2.3