Commit 0f697882 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%408
parent 5f9b4988
...@@ -1263,7 +1263,7 @@ int SDL_GL_LoadLibrary(const char *path) ...@@ -1263,7 +1263,7 @@ int SDL_GL_LoadLibrary(const char *path)
int retval; int retval;
retval = -1; retval = -1;
if ( video->GL_LoadLibrary ) { if ( video && video->GL_LoadLibrary ) {
retval = video->GL_LoadLibrary(this, path); retval = video->GL_LoadLibrary(this, path);
} else { } else {
SDL_SetError("No dynamic GL support in video driver"); SDL_SetError("No dynamic GL support in video driver");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment