Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
35738:c2b6074cc28d | 35739:6b82e3079aea |
---|---|
45 | 45 |
46 if ( guiInfo.Playing ) uiVideoRender=False; | 46 if ( guiInfo.Playing ) uiVideoRender=False; |
47 | 47 |
48 if ( uiVideoRender && guiApp.videoWindow.State == wsWindowExpose ) | 48 if ( uiVideoRender && guiApp.videoWindow.State == wsWindowExpose ) |
49 { | 49 { |
50 wsWindowBackground(&guiApp.videoWindow, guiApp.video.R, guiApp.video.G, guiApp.video.B); | |
50 if ( guiApp.video.Bitmap.Image ) wsImageDraw( &guiApp.videoWindow ); | 51 if ( guiApp.video.Bitmap.Image ) wsImageDraw( &guiApp.videoWindow ); |
51 } | 52 } |
52 guiApp.videoWindow.State=0; | 53 guiApp.videoWindow.State=0; |
53 } | 54 } |
54 | 55 |