src/video/quartz/SDL_QuartzGL.m
changeset 890 416158ec61a0
parent 857 ce05e92d909b
child 900 c3c8739f7844
     1.1 --- a/src/video/quartz/SDL_QuartzGL.m	Sun May 16 18:02:48 2004 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzGL.m	Sun May 16 18:06:27 2004 +0000
     1.3 @@ -86,6 +86,14 @@
     1.4          attr[i++] = this->gl_config.stencil_size;
     1.5      }
     1.6  
     1.7 +    if ( (this->gl_config.accum_red_size +
     1.8 +          this->gl_config.accum_green_size +
     1.9 +          this->gl_config.accum_blue_size +
    1.10 +          this->gl_config.accum_alpha_size) > 0 ) {
    1.11 +        attr[i++] = NSOpenGLPFAAccumSize;
    1.12 +        attr[i++] = this->gl_config.accum_red_size + this->gl_config.accum_green_size + this->gl_config.accum_blue_size + this->gl_config.accum_alpha_size;
    1.13 +    }
    1.14 +
    1.15      if ( this->gl_config.multisamplebuffers != 0 ) {
    1.16          attr[i++] = NSOpenGLPFASampleBuffers;
    1.17          attr[i++] = this->gl_config.multisamplebuffers;