mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 02:09:06 +00:00
Replace 'reinterpret_cast' with 'static_cast'
This commit is contained in:
parent
53ede795a2
commit
6d44afc7dd
26 changed files with 31 additions and 36 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue