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
commit 0d359e23da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.