summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/WGL.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2024-07-24 06:24:51 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2024-11-08 07:26:47 +0100
commit6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (patch)
tree40118d5b05c1b88e035877eb0b4824fb49dcfe1b /Source/Core/Common/GL/GLInterface/WGL.cpp
parent53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff)
Replace 'reinterpret_cast' with 'static_cast'
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/WGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/WGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp
index 286859daf6..6a8bbfdb2e 100644
--- a/Source/Core/Common/GL/GLInterface/WGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/WGL.cpp
@@ -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;