mirror of
https://github.com/reactos/wine.git
synced 2025-02-15 10:29:19 +00:00
wined3d: Do not preload vertex buffers in unlock.
This commit is contained in:
parent
b310e98693
commit
6fb1869b98
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user