glamor_utils: fix unlikely define use
authorDave Airlie <airlied@redhat.com>
Sat, 29 Dec 2012 06:42:30 +0000 (06:42 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 18 Dec 2013 19:23:53 +0000 (11:23 -0800)
using a define across a split line expression is failure, compiling
with warnings shows this up.

Signed-off-by: Dave Airlie <airlied@redhat.com>
glamor/glamor_utils.h

index 36beb49..d307838 100644 (file)
@@ -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 {                                                \