* Adjustment: Initial testing with extensions to load GPU VRAM.

This commit is contained in:
Robert MacGregor 2021-10-10 20:53:55 -04:00
parent a458c97217
commit 1385b29f03
5 changed files with 42 additions and 14 deletions

View file

@ -49,7 +49,8 @@ namespace GL
AssertFatal(false, "Unable to load WGL in GLAD. Make sure your OpenGL drivers are up to date!");
}
#elif defined(TORQUE_OS_LINUX)
if (!gladLoadGLX())
if (!gladLoadGLX(NULL, 0))
{
AssertFatal(false, "Unable to load GLX in GLAD. Make sure your OpenGL drivers are up to date!");
}