mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
Cleanup extension initialization
This commit is contained in:
parent
35b01fc3a9
commit
70d798d5fb
2 changed files with 6 additions and 2 deletions
|
@ -1711,10 +1711,13 @@ void registerGlExtensions(CGlExtensions &ext)
|
||||||
|
|
||||||
// ARB extensions
|
// ARB extensions
|
||||||
// -------------
|
// -------------
|
||||||
if(!ext.DisableHardwareVertexArrayAGP)
|
if (!ext.DisableHardwareVertexArrayAGP)
|
||||||
{
|
{
|
||||||
ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext);
|
ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext);
|
||||||
ext.ARBMapBufferRange = setupARBMapBufferRange(glext);
|
if (ext.ARBVertexBufferObject)
|
||||||
|
{
|
||||||
|
ext.ARBMapBufferRange = setupARBMapBufferRange(glext);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// fix for radeon 7200 -> disable agp
|
// fix for radeon 7200 -> disable agp
|
||||||
|
|
|
@ -168,6 +168,7 @@ public:
|
||||||
EXTVertexShader= false;
|
EXTVertexShader= false;
|
||||||
ARBFragmentProgram = false;
|
ARBFragmentProgram = false;
|
||||||
ARBVertexBufferObject = false;
|
ARBVertexBufferObject = false;
|
||||||
|
ARBMapBufferRange = false;
|
||||||
ARBVertexProgram = false;
|
ARBVertexProgram = false;
|
||||||
NVTextureRectangle = false;
|
NVTextureRectangle = false;
|
||||||
EXTTextureRectangle = false;
|
EXTTextureRectangle = false;
|
||||||
|
|
Loading…
Reference in a new issue