Commit e0b21688 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Make the destination surface glDirty in UpdateSurface.

parent 3f2e2601
...@@ -6828,6 +6828,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface, ...@@ -6828,6 +6828,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface,
} }
} }
checkGLcall("glTexSubImage2D"); 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 -> /* 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 * GL_DIMENSIONS lookup, or maybe store the dimensions on the surface (but that's making the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment