From 06abd7b0412969746dd368465b572f199d2ffe0f Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 4 Nov 2018 13:49:32 +0000 Subject: [PATCH] Fix xr_glx_hybrid backend Signed-off-by: Yuxuan Shui --- src/opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opengl.c b/src/opengl.c index fa8a9dd..6258b06 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -702,7 +702,7 @@ glx_load_prog_main(session_t *ps, bool glx_bind_pixmap(session_t *ps, glx_texture_t **pptex, xcb_pixmap_t pixmap, unsigned width, unsigned height, unsigned depth) { - if (ps->o.backend != BKEND_GLX) + if (ps->o.backend != BKEND_GLX && ps->o.backend != BKEND_XR_GLX_HYBRID) return true; if (!pixmap) {