Ok I found out what the problem was. It wasnt ATI or SDL
s fault but mine Suggested by OpenGL wiki tutorial:
/* Turn on double buffering with a 24bit Z buffer. * You may need to change this to 16 or 32 for your system */ SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
I chose to use 32 bit Z buffer as on linux I was limitted to 24. And as it appears windows can`t handle 32 bit depth buffer too
Problem solved.