wined3d: Remove a redundant ActivateContext() call.

This commit is contained in:
Henri Verbeet 2009-10-26 10:12:15 +01:00 committed by Alexandre Julliard
parent 49b24053ff
commit 69bf130476
1 changed files with 0 additions and 4 deletions

View File

@ -802,10 +802,6 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
/* Nothing to do because we locked directly into the vbo */
if(!(This->flags & WINED3D_BUFFER_DOUBLEBUFFER)) return;
if (!device->isInDraw)
{
ActivateContext(device, NULL, CTXUSAGE_RESOURCELOAD);
}
ENTER_GL();
GL_EXTCALL(glBindBufferARB(This->buffer_type_hint, This->buffer_object));
checkGLcall("glBindBufferARB");