diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-03 13:18:26 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-03 13:18:26 +0000 |
commit | 7b9f20c0ab48e517963a97fa66e758751aa7c618 (patch) | |
tree | 84acbcc781c1dd410f5c3639c62d27a40dd0d7af /libvo/w32_common.c | |
parent | e1e588421fc7e826d6bf65d838d3efb434827210 (diff) | |
download | mpv-7b9f20c0ab48e517963a97fa66e758751aa7c618.tar.bz2 mpv-7b9f20c0ab48e517963a97fa66e758751aa7c618.tar.xz |
Fix compilation after patch to remove global vo_hdc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24335 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r-- | libvo/w32_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index feafbe59df..9712d3af9d 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -308,7 +308,7 @@ static int createRenderingContext(void) { pf = ChoosePixelFormat(vo_hdc, &pfd); if (!pf) { mp_msg(MSGT_VO, MSGL_ERR, "vo: win32: unable to select a valid pixel format!\n"); - ReleaseDC(vo_hdc); + ReleaseDC(vo_window, vo_hdc); return 0; } @@ -316,7 +316,7 @@ static int createRenderingContext(void) { mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d with depth %d\n", vo_screenwidth, vo_screenheight, vo_depthonscreen); - ReleaseDC(vo_hdc); + ReleaseDC(vo_window, vo_hdc); return 1; } |