diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-26 13:47:18 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-26 13:47:18 +0000 |
commit | 1feebc74c76bc7e1efb78f10843c79b385d12264 (patch) | |
tree | ade7489a6c1d7a6d64260819c147fe8352e78d5a /libvo/w32_common.c | |
parent | df2887dd4a7c7bc6d23928ecdf95b3afbc79648f (diff) | |
download | mpv-1feebc74c76bc7e1efb78f10843c79b385d12264.tar.bz2 mpv-1feebc74c76bc7e1efb78f10843c79b385d12264.tar.xz |
OpenGL fixes for windows and vo_gl.c ported to windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r-- | libvo/w32_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index c23afe679d..6e04fe199e 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -180,7 +180,7 @@ int createRenderingContext(void) { 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); |