Mercurial > mplayer.hg
diff libvo/w32_common.c @ 16109:519a307e3ccf
OpenGL fixes for windows and vo_gl.c ported to windows.
author | reimar |
---|---|
date | Tue, 26 Jul 2005 13:47:18 +0000 |
parents | b4c3f02811dd |
children | 917079aa9fee |
line wrap: on
line diff
--- a/libvo/w32_common.c Tue Jul 26 13:32:32 2005 +0000 +++ b/libvo/w32_common.c Tue Jul 26 13:47:18 2005 +0000 @@ -180,7 +180,7 @@ updateScreenProperties(); vo_dwidth = vo_fs ? vo_screenwidth : o_dwidth; vo_dheight = vo_fs ? vo_screenheight : o_dheight; - SetWindowPos(vo_window, layer, vo_dx, vo_dy, vo_dwidth, vo_dheight, SWP_SHOWWINDOW); + SetWindowPos(vo_window, layer, vo_fs ? 0 : vo_dx, vo_fs ? 0 : vo_dy, vo_dwidth, vo_dheight, SWP_SHOWWINDOW); PIXELFORMATDESCRIPTOR pfd; memset(&pfd, 0, sizeof pfd);