From: Eric Anholt Date: Wed, 3 Dec 2008 23:32:51 +0000 (-0800) Subject: intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE. X-Git-Tag: 062012170305~17671^2~455 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdc8ac4426f00eaafbe8ca0d356563efe390294d;p=profile%2Fivi%2Fmesa.git intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE. --- diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index 36446ef..dd932ae 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; }