OpenGL3: Replace direct calls into libGL with mt_opengl

This commit is contained in:
numzero
2023-10-07 19:47:16 +03:00
committed by sfan5
parent 063079b372
commit d4735ebc76
6 changed files with 122 additions and 122 deletions

View File

@ -17,7 +17,7 @@ namespace video
{
void COpenGL3ExtensionHandler::initExtensionsOld()
{
auto extensions_string = reinterpret_cast<const char *>(glGetString(GL_EXTENSIONS));
auto extensions_string = reinterpret_cast<const char *>(GL.GetString(GL_EXTENSIONS));
const char *pos = extensions_string;
while (const char *next = strchr(pos, ' ')) {
addExtension(std::string{pos, next});