[SDL] OpenGL speed, Linux vs W2000

Sami Näätänen sami.naatanen at kolumbus.fi
Thu Jan 23 16:49:00 PST 2003

On Thursday 23 January 2003 22:35, Gib Bogle wrote:
> Very interesting.  If I remove both SDL_FULLSCREEN and SDL_NOFRAME
> from video_flags in the W2000 version I get 690 fps.  Removes either
> one alone has no effect.  Do you think this means there might be a
> Linux bug, and do you mean in SDL or X?
> Now I have to correct a previous statement I made.  I now realize
> from looking at the output from the program that the W2000 version
> always sets SDL_GL_DEPTH_SIZE to 16, while the Linux version sets it
> to 24, regardless of what I try to set it at (16 or 24).  The call
> SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, n) seems to be redundant -
> commenting it out has no effect.

I thought so. ;)

That's why I asked if you did give the windows version "-bpp 24" 
parameter so that it will be made 24 bpp like the X11 version.

PS. I should use a litle bit more time for the phrase forming, so that 
somebody else can understand what the heck I'm talking about. ;)

More information about the SDL mailing list