projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9216b4e
)
mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels()
author
Brian Paul
<brianp@vmware.com>
Wed, 9 Sep 2009 14:23:11 +0000
(08:23 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 9 Sep 2009 14:23:14 +0000
(08:23 -0600)
Works around a bug found on i965. See bug 23670.
src/mesa/drivers/common/meta.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta.c
b/src/mesa/drivers/common/meta.c
index 965fb8697ed54db3cd7183f2cc897efa05a3a79f..28e49b68983c92381a714056e1df40279a82c866 100644
(file)
--- a/
src/mesa/drivers/common/meta.c
+++ b/
src/mesa/drivers/common/meta.c
@@
-1446,7
+1446,10
@@
_mesa_meta_draw_pixels(GLcontext *ctx,
if (_mesa_is_color_format(format)) {
/* use more compact format when possible */
- if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA)
+ /* XXX disable special case for GL_LUMINANCE for now to work around
+ * apparent i965 driver bug (see bug #23670).
+ */
+ if (/*format == GL_LUMINANCE ||*/ format == GL_LUMINANCE_ALPHA)
texIntFormat = format;
else
texIntFormat = GL_RGBA;