For possibly a year now I have been experiencing a very odd situation with my engine running on a Windows Vista PC with ATI Radeon 4850 - all driver versions.
My engine runs perfectly with nVidia h/w and this is my main game development system. However, from time to time i like to check the engine on ATI h/w - and this is where the fun begins.
Using a debugger, I can see that the odd behaviour is when Texture_2D is enabled and I try to render any texture (to a quad, etc). Even a simple glBegin (GL_QUADS) results in a floating-point divide error when the next swap buffer cammand is issued. The exact same rendering commands with Texture_2D disabled does not result in the crash. Therefore I conculde the issue is the ATI drivers doing something odd with the texturing state. The same behaviour occurs no matter what object I attempt to draw (complex models, simple models, basic quads, etc) and it does not matter whether I use fixed function or shaders - it always crashes. I can’t post you any code as it’s meaningless - any attempt to use a texture just fails.
To aid my debugging - I have checked the OpenGL context - it’s 3.1.xxx and also have tried a GL 2.1 context as well. I have ripped apart my engine and made it only render a stupidly basic scene - some flat shaded objects and then a 2D orthographic full screen overlay with a test peice of code to draw a textured quad. It will render the flat shaded objects but always fails to render this textured quad - as I said before.
Anyone ever seen anything like this before?
This has been bugging me for absolutely ages (no pun intended!)