Module: wine Branch: master Commit: 7560c8e1d2cbe77d7dcba8839209d120df31bf87 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7560c8e1d2cbe77d7dcba88392...
Author: Stefan Dösinger stefan@codeweavers.com Date: Sun Feb 25 23:10:20 2007 +0100
wined3d: Use GL_STATIC_DRAW_ARB instead of GL_STATIC_DRAW.
---
dlls/wined3d/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 95268fa..49dcc93 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) {