mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
Fixed: All fragment shaders are not working on ATI cards (patch provided and tested by Naush)
This commit is contained in:
parent
367fd56d2e
commit
1d5d8b35cf
1 changed files with 0 additions and 5 deletions
|
@ -1389,11 +1389,6 @@ void registerGlExtensions(CGlExtensions &ext)
|
||||||
{
|
{
|
||||||
ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext);
|
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);
|
ext.IsGeforceFXOrAbove = setupNVVertexProgram(glext) && setupARBFragmentProgram(glext);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue