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

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4012
parent f772d5c1
...@@ -1351,8 +1351,10 @@ int SDL_GL_GetAttribute(SDL_GLattr attr, int* value) ...@@ -1351,8 +1351,10 @@ int SDL_GL_GetAttribute(SDL_GLattr attr, int* value)
if ( video->GL_GetAttribute ) { if ( video->GL_GetAttribute ) {
retval = this->GL_GetAttribute(this, attr, value); retval = this->GL_GetAttribute(this, attr, value);
} else {
*value = 0;
SDL_SetError("GL_GetAttribute not supported");
} }
return retval; return retval;
} }
...@@ -1680,10 +1682,10 @@ SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode) ...@@ -1680,10 +1682,10 @@ SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode)
{ {
SDL_VideoDevice *video = current_video; SDL_VideoDevice *video = current_video;
/* If the video isn't initialized yet, we can't do anything */ /* If the video isn't initialized yet, we can't do anything */
if ( ! video ) { if ( ! video ) {
return SDL_GRAB_OFF; return SDL_GRAB_OFF;
} }
/* Return the current mode on query */ /* Return the current mode on query */
if ( mode == SDL_GRAB_QUERY ) { if ( mode == SDL_GRAB_QUERY ) {
......
Makefile.in
Makefile
.libs
*.o
*.lo
*.la
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