diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-01 21:17:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-01 21:17:50 +0000 |
commit | e01a1f3eae1cd0907bfe216d7c213e4557e5ab2a (patch) | |
tree | 388b2f9bbf40c9668062db35fc13f48251e9ae95 /xserver/glamor | |
parent | 960f3f6bd9689aca1a4700be9f94ad3e9a7a6df9 (diff) |
Use an ARGB8888 based texture even when DRI3 isn't enabled. This achieves the
same effect as a change that was recently made upstream. The code changed
significantly in the meantime.
ok jsg@, matthieu@
Diffstat (limited to 'xserver/glamor')
-rw-r--r-- | xserver/glamor/glamor_fbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/glamor/glamor_fbo.c b/xserver/glamor/glamor_fbo.c index ad4dfe656..802d665a9 100644 --- a/xserver/glamor/glamor_fbo.c +++ b/xserver/glamor/glamor_fbo.c @@ -340,7 +340,7 @@ _glamor_create_tex(glamor_screen_private *glamor_priv, * Depending on the implementation, GL_RGBA might not * give us ARGB8888. We ask glamor_egl to use get * an ARGB8888 based texture for us. */ - if (glamor_priv->dri3_enabled && format == GL_RGBA) { + if (format == GL_RGBA) { tex = glamor_egl_create_argb8888_based_texture(glamor_priv->screen, w, h); } |