wined3d: Do not bind the 0 vbo when vbos are unsupported.

This commit is contained in:
Stefan Dösinger 2006-09-20 18:36:49 +02:00 committed by Alexandre Julliard
parent 81977b773b
commit fd65b9b413
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {