From 7560c8e1d2cbe77d7dcba8839209d120df31bf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Sun, 25 Feb 2007 23:10:20 +0100 Subject: [PATCH] wined3d: Use GL_STATIC_DRAW_ARB instead of GL_STATIC_DRAW. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 95268fa4a15..49dcc931920 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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 * 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)); error = glGetError(); if(error != GL_NO_ERROR) {