summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/sw.h')
-rw-r--r--Gui/mplayer/sw.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Gui/mplayer/sw.h b/Gui/mplayer/sw.h
index 551ae2f6b5..134debd6e0 100644
--- a/Gui/mplayer/sw.h
+++ b/Gui/mplayer/sw.h
@@ -13,20 +13,13 @@ void mplSubDraw( wsParamDisplay )
if ( mplShMem->Playing )
{
-// wsSetBackgroundRGB( &appMPlayer.subWindow,0,0,0 );
-// wsClearWindow( appMPlayer.subWindow );
vo_expose=1;
mplSubRender=0;
}
if ( mplSubRender )
{
-// wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
- if ( appMPlayer.sub.Bitmap.Image )
- {
-// wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize );
- wsPutImage( &appMPlayer.subWindow );
- }
+ if ( appMPlayer.sub.Bitmap.Image ) wsPutImage( &appMPlayer.subWindow );
// XFlush( wsDisplay );
}
appMPlayer.subWindow.State=0;