*** empty log message ***
authorSam Lantinga <slouken@lokigames.com>
Sat, 28 Apr 2001 18:57:18 +0000
changeset 117b94b6379341
parent 10 ee3bb7cd06b5
child 12 34d956b20f75
*** empty log message ***
src/video/SDL_video.c
src/video/dummy/.cvsignore
     1.1 --- a/src/video/SDL_video.c	Sat Apr 28 18:56:58 2001 +0000
     1.2 +++ b/src/video/SDL_video.c	Sat Apr 28 18:57:18 2001 +0000
     1.3 @@ -1351,8 +1351,10 @@
     1.4  
     1.5  	if ( video->GL_GetAttribute ) {
     1.6  		retval = this->GL_GetAttribute(this, attr, value);
     1.7 +	} else {
     1.8 +		*value = 0;
     1.9 +		SDL_SetError("GL_GetAttribute not supported");
    1.10  	}
    1.11 -
    1.12  	return retval;
    1.13  }
    1.14  
    1.15 @@ -1680,10 +1682,10 @@
    1.16  {
    1.17  	SDL_VideoDevice *video = current_video;
    1.18  
    1.19 -    /* If the video isn't initialized yet, we can't do anything */
    1.20 -    if ( ! video ) {
    1.21 -        return SDL_GRAB_OFF;
    1.22 -    }
    1.23 +	/* If the video isn't initialized yet, we can't do anything */
    1.24 +	if ( ! video ) {
    1.25 +		return SDL_GRAB_OFF;
    1.26 +	}
    1.27  
    1.28  	/* Return the current mode on query */
    1.29  	if ( mode == SDL_GRAB_QUERY ) {
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/src/video/dummy/.cvsignore	Sat Apr 28 18:57:18 2001 +0000
     2.3 @@ -0,0 +1,6 @@
     2.4 +Makefile.in
     2.5 +Makefile
     2.6 +.libs
     2.7 +*.o
     2.8 +*.lo
     2.9 +*.la