Fixed flashing the screen when creating a window on BeOS
authorSam Lantinga <slouken@libsdl.org>
Sun, 14 Oct 2001 20:30:10 +0000
changeset 206b69bb2a368a0
parent 205 13161d3d349d
child 207 c03846dd489b
Fixed flashing the screen when creating a window on BeOS
docs.html
src/video/bwindow/SDL_sysvideo.cc
     1.1 --- a/docs.html	Sun Oct 14 19:49:02 2001 +0000
     1.2 +++ b/docs.html	Sun Oct 14 20:30:10 2001 +0000
     1.3 @@ -16,6 +16,7 @@
     1.4  Major changes since SDL 1.0.0:
     1.5  </H2>
     1.6  <UL>
     1.7 +	<LI> 1.2.3: Fixed flashing the screen when creating a window on BeOS
     1.8  	<LI> 1.2.3: Added double-buffering support for SVGAlib (thanks Kutak!)
     1.9  	<LI> 1.2.3: Fixed crash when using double-buffering with DGA
    1.10  	<LI> 1.2.3: Fixed resuming a paused CD on Win2K (thanks Aragorn)
     2.1 --- a/src/video/bwindow/SDL_sysvideo.cc	Sun Oct 14 19:49:02 2001 +0000
     2.2 +++ b/src/video/bwindow/SDL_sysvideo.cc	Sun Oct 14 20:30:10 2001 +0000
     2.3 @@ -393,7 +393,7 @@
     2.4  			}
     2.5  		}
     2.6  	}
     2.7 -	if ( ! fullscreen ) {
     2.8 +	if ( was_fullscreen && ! fullscreen ) {
     2.9  		bscreen.SetMode(&saved_mode);
    2.10  	}
    2.11  
    2.12 @@ -485,7 +485,6 @@
    2.13  		current->pitch = 0;
    2.14  		current->pixels = NULL;
    2.15  		_this->UpdateRects = NULL;		
    2.16 -		//		_this->ToggleFullScreen = NULL;
    2.17  	} else {
    2.18  		/* Create the BBitmap framebuffer */
    2.19  		bounds.top = 0; bounds.left = 0;