diff src/video/maccommon/SDL_macgl.c @ 450:8a43e0cbf02f

Added SDL_GL_STEREO for stereoscopic OpenGL contexts
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Aug 2002 17:58:08 +0000
parents f6ffac90895c
children 864e2d2a9a55
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macgl.c	Mon Aug 19 03:40:44 2002 +0000
+++ b/src/video/maccommon/SDL_macgl.c	Mon Aug 19 17:58:08 2002 +0000
@@ -46,6 +46,9 @@
 	if ( this->gl_config.double_buffer ) {
 		attributes[i++] = AGL_DOUBLEBUFFER;
 	}
+	if ( this->gl_config.stereo ) {
+		attributes[i++] = AGL_STEREO;
+	}
 	if ( this->gl_config.depth_size != 0 ) {
 		attributes[i++] = AGL_DEPTH_SIZE;
 		attributes[i++] = this->gl_config.depth_size;