summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/WGL.cpp
diff options
context:
space:
mode:
authorCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-12-08 19:20:11 +0000
committerCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-12-10 21:45:41 +0000
commitccc1c4a6015f965923bea78a818c6e70bbaced1e (patch)
treec1c1850272eb4533e240ef6b15999049b3a0a244 /Source/Core/Common/GL/GLInterface/WGL.cpp
parent75bc9a474edab83c8751b73939a7136990c3c118 (diff)
mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
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 6a8bbfdb2e..8c08740896 100644
--- a/Source/Core/Common/GL/GLInterface/WGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/WGL.cpp
@@ -223,7 +223,7 @@ void* GLContextWGL::GetFuncAddress(const std::string& name)
func = GetProcAddress(opengl_module, name.c_str());
}
- return func;
+ return reinterpret_cast<void*>(func);
}
// Create rendering window.