mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 17:44:35 +00:00
*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%408
This commit is contained in:
parent
5f9b498872
commit
0f69788202
@ -1263,7 +1263,7 @@ int SDL_GL_LoadLibrary(const char *path)
|
||||
int retval;
|
||||
|
||||
retval = -1;
|
||||
if ( video->GL_LoadLibrary ) {
|
||||
if ( video && video->GL_LoadLibrary ) {
|
||||
retval = video->GL_LoadLibrary(this, path);
|
||||
} else {
|
||||
SDL_SetError("No dynamic GL support in video driver");
|
||||
|
Loading…
Reference in New Issue
Block a user