Merge with default

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
commit 1896876b11

@ -1714,8 +1714,11 @@ void registerGlExtensions(CGlExtensions &ext)
if (!ext.DisableHardwareVertexArrayAGP) if (!ext.DisableHardwareVertexArrayAGP)
{ {
ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext); ext.ARBVertexBufferObject = setupARBVertexBufferObject(glext);
if (ext.ARBVertexBufferObject)
{
ext.ARBMapBufferRange = setupARBMapBufferRange(glext); ext.ARBMapBufferRange = setupARBMapBufferRange(glext);
} }
}
// fix for radeon 7200 -> disable agp // fix for radeon 7200 -> disable agp
if (ext.NbTextureStages == 3 && (ext.ATIVertexArrayObject || ext.ARBVertexBufferObject)) if (ext.NbTextureStages == 3 && (ext.ATIVertexArrayObject || ext.ARBVertexBufferObject))

@ -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…
Cancel
Save