git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2365 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi
2001-10-22 14:19:48 +00:00
parent 7126a56170
commit f02eeb7172
+4 -2
View File
@@ -151,8 +151,10 @@ int vo_init( void )
else
#endif
{
vo_screenwidth=DisplayWidth( mDisplay,mScreen );
vo_screenheight=DisplayHeight( mDisplay,mScreen );
if (! vo_screenwidth)
vo_screenwidth=DisplayWidth( mDisplay,mScreen );
if (! vo_screenheight)
vo_screenheight=DisplayHeight( mDisplay,mScreen );
}
// get color depth (from root window, or the best visual):
XGetWindowAttributes(mDisplay, mRootWin, &attribs);