Replace 'reinterpret_cast' with 'static_cast'

This commit is contained in:
Dr. Dystopia
2024-11-08 07:26:47 +01:00
parent 53ede795a2
commit 6d44afc7dd
26 changed files with 31 additions and 36 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ bool GLContextWGL::Initialize(const WindowSystemInfo& wsi, bool stereo, bool cor
return false;
RECT window_rect = {};
m_window_handle = reinterpret_cast<HWND>(wsi.render_surface);
m_window_handle = static_cast<HWND>(wsi.render_surface);
if (!GetClientRect(m_window_handle, &window_rect))
return false;