From a9ff7793e3491b5e78f4baed207b31eeeed61896 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Apr 2010 10:53:01 +0000 Subject: Support for auto-selecting the OpenGL backend. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31086 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libvo/vo_gl.c') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 3730059ffa..c44e21a3e8 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1099,14 +1099,8 @@ static const opt_t subopts[] = { static int preinit_internal(const char *arg, int allow_sw) { - enum MPGLType gltype = GLTYPE_SDL; // set defaults -#ifdef CONFIG_GL_X11 - gltype = GLTYPE_X11; -#endif -#ifdef CONFIG_GL_WIN32 - gltype = GLTYPE_W32; -#endif + enum MPGLType gltype = GLTYPE_AUTO; many_fmts = 1; use_osd = -1; scaled_osd = 0; -- cgit v1.2.3