diff options
| author | JosJuice <josjuice@gmail.com> | 2025-03-15 15:31:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-15 15:31:38 +0100 |
| commit | 8c7ab286f5b42d7f95b4d6c1369e2a11615a3a0b (patch) | |
| tree | adc97acc89e50fffe165f80e2f16f9c3d6900c96 /Source/Core/Common/GL/GLInterface/WGL.cpp | |
| parent | 3fb4084e25b1da3857d5d449dbc4417d731f3490 (diff) | |
| parent | 6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (diff) | |
Merge pull request #13181 from tygyh/Replace-'reinterpret_cast'
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.cpp | 2 |
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; |
