Stefan Dösinger : wined3d: Make the destination surface glDirty in UpdateSurface.
Module: wine Branch: master Commit: e0b21688fac6ae1d6f51dfabdb5d6f61c51cba66 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e0b21688fac6ae1d6f51dfab... Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Sat Aug 19 23:57:43 2006 +0200 wined3d: Make the destination surface glDirty in UpdateSurface. --- dlls/wined3d/device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 27791b6..3c2f9ea 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -6828,6 +6828,7 @@ static HRESULT WINAPI IWineD3DDeviceIm } } 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
participants (1)
-
Alexandre Julliard