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