mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: OpenGL driver compilation
This commit is contained in:
parent
223de1a1a4
commit
541fd4a25c
1 changed files with 0 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue