mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
This commit is contained in:
1 parent
75bc9a474e
commit
ccc1c4a601
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user