Commit ff44030b authored by Sam Lantinga's avatar Sam Lantinga

Fixed flashing the screen when creating a window on BeOS

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40207
parent 9fa42d19
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment