comparison 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
comparison
equal deleted inserted replaced
449:8a687496061f 450:8a43e0cbf02f
43 43
44 attributes[i++] = AGL_RGBA; 44 attributes[i++] = AGL_RGBA;
45 45
46 if ( this->gl_config.double_buffer ) { 46 if ( this->gl_config.double_buffer ) {
47 attributes[i++] = AGL_DOUBLEBUFFER; 47 attributes[i++] = AGL_DOUBLEBUFFER;
48 }
49 if ( this->gl_config.stereo ) {
50 attributes[i++] = AGL_STEREO;
48 } 51 }
49 if ( this->gl_config.depth_size != 0 ) { 52 if ( this->gl_config.depth_size != 0 ) {
50 attributes[i++] = AGL_DEPTH_SIZE; 53 attributes[i++] = AGL_DEPTH_SIZE;
51 attributes[i++] = this->gl_config.depth_size; 54 attributes[i++] = this->gl_config.depth_size;
52 } 55 }