1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Windows: Fix compilation warnings with GCC 11.2.1

This commit is contained in:
Rémi Verschelde
2021-11-10 15:09:56 +01:00
parent e317e34c15
commit b727061ce0
3 changed files with 17 additions and 5 deletions

View File

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