Fixed: All fragment shaders are not working on ATI cards (patch provided and tested by Naush)

This commit is contained in:
kervala 2010-11-30 22:25:10 +01:00
parent 367fd56d2e
commit 1d5d8b35cf

View file

@ -1389,11 +1389,6 @@ void registerGlExtensions(CGlExtensions &ext)
{
ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext);
}
// In my tries ATI_fragment_shader doesn't like to be used With ARB_fragment_program (maybe a driver bug, display become corrupted)
if (ext.IsATI9500OrAbove)
{
ext.ATIFragmentShader = false;
}
ext.IsGeforceFXOrAbove = setupNVVertexProgram(glext) && setupARBFragmentProgram(glext);