wined3d: Do not preload vertex buffers in unlock.

This commit is contained in:
Stefan Dösinger 2007-01-06 18:30:34 +01:00 committed by Alexandre Julliard
parent b310e98693
commit 6fb1869b98

View File

@ -491,8 +491,6 @@ HRESULT WINAPI IWineD3DVertexBufferImpl_Unlock(IWineD3DVertexBuffer *iface) {
GL_EXTCALL(glUnmapBufferARB(GL_ARRAY_BUFFER_ARB));
checkGLcall("glUnmapBufferARB");
LEAVE_GL();
} else if(This->Flags & VBFLAG_HASDESC){
IWineD3DVertexBufferImpl_PreLoad(iface);
}
return WINED3D_OK;
}