[Tux4kids-commits] r517 - tuxmath/trunk/src

cheezmeister-guest at alioth.debian.org cheezmeister-guest at alioth.debian.org
Thu Jun 12 16:58:31 UTC 2008


Author: cheezmeister-guest
Date: 2008-06-12 16:58:30 +0000 (Thu, 12 Jun 2008)
New Revision: 517

Modified:
   tuxmath/trunk/src/titlescreen.c
Log:
Fixed an issue clearing the title screen on a full redraw

Modified: tuxmath/trunk/src/titlescreen.c
===================================================================
--- tuxmath/trunk/src/titlescreen.c	2008-06-12 16:12:42 UTC (rev 516)
+++ tuxmath/trunk/src/titlescreen.c	2008-06-12 16:58:30 UTC (rev 517)
@@ -1636,7 +1636,7 @@
       tmdprintf("Updating entire screen\n");
       /* This is a full-screen redraw */
       /* Redraw background, title, stop button, and Tux: */
-      if (!current_bkg || Opts_Fullscreen() )
+      if (!current_bkg || screen->flags & SDL_FULLSCREEN )
         SDL_FillRect(screen, &screen->clip_rect, 0); //clear to black
       if (current_bkg)
         SDL_BlitSurface(current_bkg, NULL, screen, &Backrect);




More information about the Tux4kids-commits mailing list