Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
Sam Lantinga committed Apr 28, 2001
1 parent 4e6a23a commit 43c2bdc43d069c1914d378291cb80f6284917347
Showing with 13 additions and 5 deletions.
  1. +7 −5 src/video/SDL_video.c
  2. +6 −0 src/video/dummy/.cvsignore
@@ -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;
}

@@ -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 ) {
@@ -0,0 +1,6 @@
Makefile.in
Makefile
.libs
*.o
*.lo
*.la

0 comments on commit 43c2bdc

Please sign in to comment.