Fixed bug #906
Added better error reporting for OpenGL context creation failing. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404314
This commit is contained in:
parent
9f5a112e87
commit
fb16cf8cac
2 changed files with 2 additions and 2 deletions
|
@ -536,7 +536,7 @@ WIN_GL_CreateContext(_THIS, SDL_Window * window)
|
|||
}
|
||||
|
||||
if (!context) {
|
||||
SDL_SetError("Could not create GL context");
|
||||
WIN_SetError("Could not create GL context");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue