Fix some warnings in Qt code

This commit is contained in:
Alexander Babikov
2022-07-04 16:45:17 +05:00
parent a85caea4a9
commit 94f76ef3c0
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ OpenGLRenderer::initializeExtensions()
glBufferStorage = (PFNGLBUFFERSTORAGEEXTPROC_LOCAL) context->getProcAddress(context->hasExtension("GL_EXT_buffer_storage") ? "glBufferStorageEXT" : "glBufferStorage");
if (!glBufferStorage)
glBufferStorage = glBufferStorage = (PFNGLBUFFERSTORAGEEXTPROC_LOCAL) context->getProcAddress("glBufferStorage");
glBufferStorage = (PFNGLBUFFERSTORAGEEXTPROC_LOCAL) context->getProcAddress("glBufferStorage");
}
#endif
}