Module: wine Branch: master Commit: f06b22a53765bcc0de288019139b360c9639c148 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f06b22a53765bcc0de28801913...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Aug 17 19:03:21 2010 +0200
wined3d: Add a TRACE to IWineD3DSurfaceImpl_LoadTexture().
---
dlls/wined3d/surface.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 760eadf..ea66033 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2487,6 +2487,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LoadTexture(IWineD3DSurface *iface, BO IWineD3DSurfaceImpl *This = (IWineD3DSurfaceImpl *)iface; DWORD flag = srgb_mode ? SFLAG_INSRGBTEX : SFLAG_INTEXTURE;
+ TRACE("iface %p, srgb %#x.\n", iface, srgb_mode); + if (!(This->Flags & flag)) { TRACE("Reloading because surface is dirty\n"); } else if(/* Reload: gl texture has ck, now no ckey is set OR */