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:
Admiral H. Curtiss
2026-02-21 18:27:50 +01:00
committed by GitHub
+1 -1
View File
@@ -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.