summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-12-29 06:42:30 +0000
committerDave Airlie <airlied@redhat.com>2012-12-29 06:42:30 +0000
commitc0729336ae35dcc7e46bcf840d6e9a056d5cdd26 (patch)
treee65740d1735163c6d4ac5a6c646219bdf1496757
parentc6d9cb1eb4962a15f8bbc869e9fef6d1464165af (diff)
glamor_utils: fix unlikely define use
using a define across a split line expression is failure, compiling with warnings shows this up. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/glamor_utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glamor_utils.h b/src/glamor_utils.h
index 36beb49..d307838 100644
--- a/src/glamor_utils.h
+++ b/src/glamor_utils.h
@@ -80,8 +80,7 @@
#define pixmap_priv_get_fbo_off(_priv_, _xoff_, _yoff_) \
do { \
- if (unlikely(_priv_ && (_priv_)->type \
- == GLAMOR_TEXTURE_LARGE)) { \
+ if (unlikely(_priv_ && (_priv_)->type == GLAMOR_TEXTURE_LARGE)) { \
*(_xoff_) = - (_priv_)->large.box.x1; \
*(_yoff_) = - (_priv_)->large.box.y1; \
} else { \