changeset 34844:60cb31e9e55d

SDL: add support for quadbuffer stereo.
author reimar
date Sun, 20 May 2012 17:57:08 +0000
parents ec5d1147164e
children f56b927a9e3e
files libvo/sdl_common.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sdl_common.c	Sun May 20 17:38:18 2012 +0000
+++ b/libvo/sdl_common.c	Sun May 20 17:57:08 2012 +0000
@@ -104,6 +104,7 @@
         vo_dwidth  = vo_screenwidth;
         vo_dheight = vo_screenheight;
     }
+    SDL_GL_SetAttribute(SDL_GL_STEREO, !!(flags & VOFLAG_STEREO));
     return 1;
 }