Skip to content

Commit

Permalink
Remove dead code from 'window_set_size'
Browse files Browse the repository at this point in the history
  • Loading branch information
artnaum committed Apr 25, 2024
1 parent 35c5fd1 commit 31cbcae
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions platform/windows/display_server_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1534,23 +1534,6 @@ void DisplayServerWindows::window_set_size(const Size2i p_size, WindowID p_windo
int w = p_size.width;
int h = p_size.height;

wd.width = w;
wd.height = h;

#if defined(VULKAN_ENABLED)
if (context_vulkan) {
context_vulkan->window_resize(p_window, w, h);
}
#endif
#if defined(GLES3_ENABLED)
if (gl_manager_native) {
gl_manager_native->window_resize(p_window, w, h);
}
if (gl_manager_angle) {
gl_manager_angle->window_resize(p_window, w, h);
}
#endif

RECT rect;
GetWindowRect(wd.hWnd, &rect);

Expand Down

0 comments on commit 31cbcae

Please sign in to comment.