SDL-mirror/src
Sam Lantinga 867534f752 Date: Sat, 10 Apr 2004 10:05:46 +0200
From: Christian Walther
Subject: [SDL] OpenGL Accumulation Buffer on Mac OS X

Is there a reason for not having OpenGL accumulation buffer support in
SDL 1.2.7 (and as far as I have checked also in the current CVS) on Mac OS
X?

Maybe I am doing something wrong, but it seems very easy to add (at least
it works for for me in 10.3.3) - just add

  if ( this->gl_config.accum_red_size + this->gl_config.accum_green_size + this->gl_config.accum_blue_size + this->gl_config.accum_alpha_size > 0) {
    attr[i++] = NSOpenGLPFAAccumSize;
    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;
  }

to QZ_SetupOpenGL() in SDL_QuartzGL.m

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40891
2004-05-16 18:06:27 +00:00
..
audio Date: Mon, 10 May 2004 10:17:46 -0400 2004-05-16 17:19:48 +00:00
cdrom Date: Thu, 11 Mar 2004 18:45:17 +0900 2004-03-11 12:59:41 +00:00
cpuinfo Date: Mon, 10 May 2004 10:17:46 -0400 2004-05-16 17:19:48 +00:00
endian Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
events Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
file Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
hermes Updated libtool support so Mingw32 builds work. 2003-10-06 07:13:16 +00:00
joystick Date: Fri, 05 Mar 2004 16:08:01 +0000 2004-03-06 02:58:06 +00:00
main I noticed MacOSX SDL sets up working directory to parent of executable. 2004-02-24 18:58:40 +00:00
thread Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
timer Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
video Date: Sat, 10 Apr 2004 10:05:46 +0200 2004-05-16 18:06:27 +00:00
.cvsignore Initial revision 2001-04-26 16:45:43 +00:00
Makefile.am Actually hook the cpuinfo module into the library. :) 2003-11-18 02:16:57 +00:00
SDL.c Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
SDL_error.c Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
SDL_error_c.h Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
SDL_fatal.c Oops, ignore SIGALRM, not 0 2004-02-26 19:57:37 +00:00
SDL_fatal.h Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
SDL_getenv.c Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
SDL_loadso.c Date: Mon, 5 Jan 2004 00:09:36 +0100 2004-01-05 01:34:34 +00:00