mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 17:50:32 +01:00
mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels()
Works around a bug found on i965. See bug 23670.
This commit is contained in:
parent
9216b4e7be
commit
89a765e92b
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue