projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0f8b1
)
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
author
Eric Anholt
<eric@anholt.net>
Wed, 3 Dec 2008 23:32:51 +0000
(15:32 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sun, 7 Dec 2008 06:41:51 +0000
(22:41 -0800)
src/mesa/drivers/dri/intel/intel_tex_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_copy.c
b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 36446efde714b863b2fd88bc6b7b17b5e1e6a66b..dd932aebc906a95c243a7c28f2981cb972dcb8c3 100644
(file)
--- 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;
}