[PATCH 4/8] wined3d: Print the correct resource location in surface_set_texture_name().

Henri Verbeet hverbeet at codeweavers.com
Sun Aug 15 16:21:45 CDT 2010


---
 dlls/wined3d/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 324695b..eff5a5e 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -485,7 +485,7 @@ void surface_set_texture_name(IWineD3DSurfaceImpl *surface, GLuint new_name, BOO
         /* FIXME: We shouldn't need to remove SFLAG_INTEXTURE if the
          * surface has no texture name yet. See if we can get rid of this. */
         if (surface->Flags & flag)
-            ERR("Surface has SFLAG_INTEXTURE set, but no texture name\n");
+            ERR("Surface has %s set, but no texture name.\n", debug_surflocation(flag));
         surface_modify_location(surface, flag, FALSE);
     }
 
-- 
1.7.1




More information about the wine-patches mailing list