Assert extension string is not null
This commit is contained in:
parent
949d9f44e1
commit
0a08e903dc
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user