Replace 'reinterpret_cast' with 'static_cast'

This commit is contained in:
Dr. Dystopia
2024-07-24 06:24:51 +02:00
parent 53ede795a2
commit 6d44afc7dd
26 changed files with 31 additions and 36 deletions

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;