wined3d: Use GL_STATIC_DRAW_ARB instead of GL_STATIC_DRAW.
This commit is contained in:
parent
8d9a553d89
commit
7560c8e1d2
|
@ -399,7 +399,7 @@ static void CreateIndexBufferVBO(IWineD3DDeviceImpl *This, IWineD3DIndexBufferIm
|
||||||
/* Use static write only usage for now. Dynamic index buffers stay in sysmem, and due to the sysmem
|
/* Use static write only usage for now. Dynamic index buffers stay in sysmem, and due to the sysmem
|
||||||
* copy no readback will be needed
|
* copy no readback will be needed
|
||||||
*/
|
*/
|
||||||
glUsage = GL_STATIC_DRAW;
|
glUsage = GL_STATIC_DRAW_ARB;
|
||||||
GL_EXTCALL(glBufferDataARB(GL_ELEMENT_ARRAY_BUFFER_ARB, object->resource.size, NULL, glUsage));
|
GL_EXTCALL(glBufferDataARB(GL_ELEMENT_ARRAY_BUFFER_ARB, object->resource.size, NULL, glUsage));
|
||||||
error = glGetError();
|
error = glGetError();
|
||||||
if(error != GL_NO_ERROR) {
|
if(error != GL_NO_ERROR) {
|
||||||
|
|
Loading…
Reference in New Issue