Assert extension string is not null

This commit is contained in:
Chris Thrasher 2023-01-24 23:38:30 -07:00
parent 949d9f44e1
commit 0a08e903dc

View File

@ -276,6 +276,7 @@ void loadExtensions()
{
// Try to load the < 3.0 way
const char* extensionString = reinterpret_cast<const char*>(glGetStringFunc(GL_EXTENSIONS));
assert(extensionString);
do
{