wined3d: Make the destination surface glDirty in UpdateSurface.

This commit is contained in:
Stefan Dösinger 2006-08-19 23:57:43 +02:00 committed by Alexandre Julliard
parent 3f2e260176
commit e0b21688fa

View file

@ -6828,6 +6828,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface,
}
}
checkGLcall("glTexSubImage2D");
((IWineD3DSurfaceImpl *)pDestinationSurface)->Flags |= SFLAG_GLDIRTY;
/* I only need to look up baseTexture here, so it may be a good idea to hava a GL_TARGET ->
* GL_DIMENSIONS lookup, or maybe store the dimensions on the surface (but that's making the