wined3d: Revert "wined3d: Do not preload vertex buffers in unlock.".
This reverts commit 6fb1869b98
.
This commit is contained in:
parent
fc6c6386a9
commit
a7916d8011
|
@ -498,6 +498,8 @@ 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…
Reference in New Issue