From fd65b9b4130b538c8065927c50c7acb30257857c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Wed, 20 Sep 2006 18:36:49 +0200 Subject: [PATCH] wined3d: Do not bind the 0 vbo when vbos are unsupported. --- dlls/wined3d/drawprim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index aa022e26fb9..9078aeefa5f 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -827,7 +827,7 @@ static void loadNumberedArrays( WineDirect3DVertexStridedData *strided) { IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; - GLint curVBO = -1; + GLint curVBO = GL_SUPPORT(ARB_VERTEX_BUFFER_OBJECT) ? -1 : 0; int i; for (i = 0; i < MAX_ATTRIBS; i++) {