diff gui/ui/video.c @ 35739:6b82e3079aea

Remove unnecessary wsWindowBackground() calls. Add a necessary one to the video window's redraw handler.
author ib
date Wed, 23 Jan 2013 14:36:36 +0000
parents 80c5c89f77d6
children 0d703832d865
line wrap: on
line diff
--- a/gui/ui/video.c	Wed Jan 23 14:25:22 2013 +0000
+++ b/gui/ui/video.c	Wed Jan 23 14:36:36 2013 +0000
@@ -47,6 +47,7 @@
 
  if ( uiVideoRender && guiApp.videoWindow.State == wsWindowExpose )
   {
+   wsWindowBackground(&guiApp.videoWindow, guiApp.video.R, guiApp.video.G, guiApp.video.B);
    if ( guiApp.video.Bitmap.Image ) wsImageDraw( &guiApp.videoWindow );
   }
  guiApp.videoWindow.State=0;