diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-03 15:32:51 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-06 22:41:51 -0800 |
commit | bdc8ac4426f00eaafbe8ca0d356563efe390294d (patch) | |
tree | e1945bef50486e1f30b85e2a2ebb04116e10245d /src | |
parent | 6e0f8b174dddeb743b4bdc0d831eb1121f62ff50 (diff) |
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_copy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index 36446efde7..dd932aebc9 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_copy.c +++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c @@ -98,7 +98,9 @@ do_copy_texsubimage(struct intel_context *intel, get_teximage_source(intel, internalFormat); if (!intelImage->mt || !src) { - DBG("%s fail %p %p\n", __FUNCTION__, intelImage->mt, src); + if (INTEL_DEBUG & DEBUG_FALLBACKS) + fprintf(stderr, "%s fail %p %p\n", + __FUNCTION__, intelImage->mt, src); return GL_FALSE; } |