On 30 August 2012 07:45, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
src/mesa/drivers/common/meta.c | 4 ++--<br>
1 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c<br>
index 9a6b72b..1ec1508 100644<br>
--- a/src/mesa/drivers/common/meta.c<br>
+++ b/src/mesa/drivers/common/meta.c<br>
@@ -1444,7 +1444,7 @@ blitframebuffer_texture(struct gl_context *ctx,<br>
_mesa_SamplerParameteri(sampler, GL_TEXTURE_SRGB_DECODE_EXT,<br>
GL_SKIP_DECODE_EXT);<br>
}<br>
- if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB<br>
+ if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB)<br>
|| _mesa_is_gles3(ctx)) {<br>
_mesa_set_enable(ctx, GL_FRAMEBUFFER_SRGB_EXT, GL_FALSE);<br>
}<br>
@@ -3626,7 +3626,7 @@ decompress_texture_image(struct gl_context *ctx,<br>
}<br>
<br>
/* No sRGB decode or encode.*/<br>
- if (_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB<br>
+ if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.EXT_framebuffer_sRGB)<br>
|| _mesa_is_gles3(ctx)) {<br>
_mesa_set_enable(ctx, GL_FRAMEBUFFER_SRGB_EXT, GL_FALSE);<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.3.4<br></font></span></blockquote><div><br>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br></div></div>