summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-04 22:08:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-04 22:08:23 +0000
commitf34454b6b5acba9c21dcc98d9b7d877731aa98cf (patch)
treea2b37c0232bdb2951201142d061f2183080dfadf /libvo/vo_gl.c
parentee9b73f20cb824feb440e51b2ec814e7ce4bb76a (diff)
downloadmpv-f34454b6b5acba9c21dcc98d9b7d877731aa98cf.tar.bz2
mpv-f34454b6b5acba9c21dcc98d9b7d877731aa98cf.tar.xz
Create the OpenGL probe window as a hidden Window on X11.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30507 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 5219b06cab..066ad5b71b 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1167,7 +1167,7 @@ static int preinit(const char *arg)
if (!init_mpglcontext(&glctx, gltype))
goto err_out;
if (use_yuv == -1) {
- if (create_window(320, 200, 0, NULL) < 0)
+ if (create_window(320, 200, VOFLAG_HIDDEN, NULL) < 0)
goto err_out;
if (glctx.setGlWindow(&glctx) == SET_WINDOW_FAILED)
goto err_out;