diff options
Diffstat (limited to 'glamor/glamor.c')
-rw-r--r-- | glamor/glamor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index 7175b3fcb..2459bf9a3 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -169,8 +169,7 @@ glamor_bind_texture(glamor_screen_private *glamor_priv, GLenum texture, /* Is the operand a GL_RED fbo? */ - if (glamor_fbo_red_is_alpha(glamor_priv, fbo)) { - + if (fbo->is_red) { /* If destination is also GL_RED, then preserve the bits in * the R channel */ |