Stefan Dösinger : wined3d: Use GL_STATIC_DRAW_ARB instead of GL_STATIC_DRAW.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 28 14:40:12 CST 2007


Module: wine
Branch: master
Commit: 7560c8e1d2cbe77d7dcba8839209d120df31bf87
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7560c8e1d2cbe77d7dcba8839209d120df31bf87

Author: Stefan Dösinger <stefan at 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) {




More information about the wine-cvs mailing list