Patch to SDL_QuartzVideo.m to enable OpenGL's accum buffer

The MacOSX version of SDL-1.2.5 does not support setting
up a accumulator buffer for OpenGL.

Enclosed is a patch that fixes the problem.

/Bjorn

*** SDL_QuartzVideo.m.orig Thu Apr 3 20:01:17 2003
— SDL_QuartzVideo.m Thu Apr 3 20:00:45 2003***************
*** 1227,1232 ****
— 1227,1240 ----

   attr[i++] = NSOpenGLPFAScreenMask;
   attr[i++] = CGDisplayIDToOpenGLDisplayMask (display_id);
  • if ( this->gl_config.red_size   != 0 &&
    
  •    this->gl_config.blue_size  != 0 &&
    
  •    this->gl_config.green_size != 0 ) {
    
  •   attr[i++] = NSOpenGLPFAAccumSize;
    
  •   attr[i++] = this->gl_config.red_size;
    
  • }
    
  •  attr[i] = 0;
    
     fmt = [ [ NSOpenGLPixelFormat alloc ] initWithAttributes:attr ];