summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/WGL.cpp
diff options
context:
space:
mode:
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 c85f24a7b2..a85a27a79d 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.