Fixed: OpenGL driver compilation

This commit is contained in:
kervala 2015-01-10 19:53:27 +01:00
parent 223de1a1a4
commit 541fd4a25c

View file

@ -1419,7 +1419,6 @@ void *CVertexBufferHardARB::lock()
if (_Driver->getStaticMemoryToVRAM()) if (_Driver->getStaticMemoryToVRAM())
nglBufferDataARB(GL_ARRAY_BUFFER_ARB, size, NULL, GL_STATIC_DRAW_ARB); nglBufferDataARB(GL_ARRAY_BUFFER_ARB, size, NULL, GL_STATIC_DRAW_ARB);
else else
glBufferData(GL_ARRAY_BUFFER, size, NULL, GL_DYNAMIC_DRAW);
nglBufferDataARB(GL_ARRAY_BUFFER_ARB, size, NULL, GL_DYNAMIC_DRAW_ARB); nglBufferDataARB(GL_ARRAY_BUFFER_ARB, size, NULL, GL_DYNAMIC_DRAW_ARB);
break; break;
// case CVertexBuffer::AGPPreferred: // case CVertexBuffer::AGPPreferred: