[MPlayer-cvslog] r34932 - trunk/libvo/sdl_common.c

reimar subversion at mplayerhq.hu
Sun May 20 19:57:08 CEST 2012


Author: reimar
Date: Sun May 20 19:57:08 2012
New Revision: 34932

Log:
SDL: add support for quadbuffer stereo.

Modified:
   trunk/libvo/sdl_common.c

Modified: trunk/libvo/sdl_common.c
==============================================================================
--- trunk/libvo/sdl_common.c	Sun May 20 19:38:18 2012	(r34931)
+++ trunk/libvo/sdl_common.c	Sun May 20 19:57:08 2012	(r34932)
@@ -104,6 +104,7 @@ int vo_sdl_config(int w, int h, int flag
         vo_dwidth  = vo_screenwidth;
         vo_dheight = vo_screenheight;
     }
+    SDL_GL_SetAttribute(SDL_GL_STEREO, !!(flags & VOFLAG_STEREO));
     return 1;
 }
 


More information about the MPlayer-cvslog mailing list