mirror of
https://github.com/joel16/SDL2.git
synced 2025-02-10 05:32:43 +00:00
Fixed flashing the screen when creating a window on BeOS
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40207
This commit is contained in:
parent
9fa42d19f6
commit
ff44030b80
@ -16,6 +16,7 @@ be found at the <A HREF="http://www.libsdl.org/"> main SDL page</A>.
|
||||
Major changes since SDL 1.0.0:
|
||||
</H2>
|
||||
<UL>
|
||||
<LI> 1.2.3: Fixed flashing the screen when creating a window on BeOS
|
||||
<LI> 1.2.3: Added double-buffering support for SVGAlib (thanks Kutak!)
|
||||
<LI> 1.2.3: Fixed crash when using double-buffering with DGA
|
||||
<LI> 1.2.3: Fixed resuming a paused CD on Win2K (thanks Aragorn)
|
||||
|
@ -393,7 +393,7 @@ static int BE_SetFullScreen(_THIS, SDL_Surface *screen, int fullscreen)
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( ! fullscreen ) {
|
||||
if ( was_fullscreen && ! fullscreen ) {
|
||||
bscreen.SetMode(&saved_mode);
|
||||
}
|
||||
|
||||
@ -485,7 +485,6 @@ SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current,
|
||||
current->pitch = 0;
|
||||
current->pixels = NULL;
|
||||
_this->UpdateRects = NULL;
|
||||
// _this->ToggleFullScreen = NULL;
|
||||
} else {
|
||||
/* Create the BBitmap framebuffer */
|
||||
bounds.top = 0; bounds.left = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user