Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed Apr 28, 2001
1 parent 4e6a23a commit 43c2bdc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/video/SDL_video.c
Expand Up @@ -1351,8 +1351,10 @@ int SDL_GL_GetAttribute(SDL_GLattr attr, int* value)

if ( video->GL_GetAttribute ) {
retval = this->GL_GetAttribute(this, attr, value);
} else {
*value = 0;
SDL_SetError("GL_GetAttribute not supported");
}

return retval;
}

Expand Down Expand Up @@ -1680,10 +1682,10 @@ SDL_GrabMode SDL_WM_GrabInput(SDL_GrabMode mode)
{
SDL_VideoDevice *video = current_video;

/* If the video isn't initialized yet, we can't do anything */
if ( ! video ) {
return SDL_GRAB_OFF;
}
/* If the video isn't initialized yet, we can't do anything */
if ( ! video ) {
return SDL_GRAB_OFF;
}

/* Return the current mode on query */
if ( mode == SDL_GRAB_QUERY ) {
Expand Down
6 changes: 6 additions & 0 deletions src/video/dummy/.cvsignore
@@ -0,0 +1,6 @@
Makefile.in
Makefile
.libs
*.o
*.lo
*.la

0 comments on commit 43c2bdc

Please sign in to comment.