Module: wine Branch: master Commit: 3a36013065b1f8e6158ff1d5f50c3476c8e44928 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a36013065b1f8e6158ff1d5f5...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Aug 15 23:21:45 2010 +0200
wined3d: Print the correct resource location in surface_set_texture_name().
---
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); }