Merge pull request #14212 from cscd98/cast-func
mingw: use reinterpret_cast for function→void* conversion to satisfy C++ standard
This commit is contained in:
@@ -223,7 +223,7 @@ void* GLContextWGL::GetFuncAddress(const std::string& name)
|
|||||||
func = GetProcAddress(opengl_module, name.c_str());
|
func = GetProcAddress(opengl_module, name.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return func;
|
return reinterpret_cast<void*>(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create rendering window.
|
// Create rendering window.
|
||||||
|
|||||||
Reference in New Issue
Block a user