[SDL] OpenGL speed, Linux vs W2000
drevil at warpcore.org
Thu Jan 23 12:46:01 PST 2003
On Thu, 2003-01-23 at 14:35, Gib Bogle wrote:
> 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.
This is because X doesn't allow on the fly color depth changes
currently. The windows one because of some driver setting AFAIK.
More information about the SDL