diff options
-rw-r--r-- | src/glx/dri3_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c index 61cb2de1d0..0c8e064629 100644 --- a/src/glx/dri3_glx.c +++ b/src/glx/dri3_glx.c @@ -945,7 +945,7 @@ dri3_get_pixmap_buffer(__DRIdrawable *driDrawable, void *loaderPrivate) { struct dri3_drawable *pdraw = loaderPrivate; - int buf_id = buffer_type == dri3_pixmap_buf_id(buffer_type); + int buf_id = dri3_pixmap_buf_id(buffer_type); struct dri3_buffer *buffer = pdraw->buffers[buf_id]; Pixmap pixmap; xcb_dri3_buffer_from_pixmap_cookie_t bp_cookie; |