summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-07 19:01:48 -0800
committerEric Anholt <eric@anholt.net>2013-11-07 19:08:09 -0800
commit035cce83f7b3d9a037c9e7cc17a212d6cf7e927f (patch)
tree29b79a75a57762e4635015530527779c63c7aa8b
parent4b5d0d10f106ef7659917235dfbcd6d0e00e5bf0 (diff)
dri3: Fix pixmap buf_id computation10.0-branchpoint
Looks like some kind of rebase damage to me... Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--src/glx/dri3_glx.c2
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;