summaryrefslogtreecommitdiffstats
path: root/include/GL/xmesa_xf86.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/xmesa_xf86.h')
-rw-r--r--include/GL/xmesa_xf86.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/GL/xmesa_xf86.h b/include/GL/xmesa_xf86.h
index c84ffe8a20f..7d5a7c5e995 100644
--- a/include/GL/xmesa_xf86.h
+++ b/include/GL/xmesa_xf86.h
@@ -124,8 +124,7 @@ do { \
do { \
/* Assumes: Images are always in ZPixmap format */ \
(void) __d; \
- if (__sx || __sy) /* The non-trivial case */ \
- XMesaPutImageHelper(__d,__b,__gc,__i,__sx,__sy,__x,__y,__w,__h); \
+ ASSERT(!__sx && !__sy) /* The SubImage case */ \
ValidateGC(__b, __gc); \
(*__gc->ops->PutImage)(__b, __gc, ((XMesaDrawable)(__b))->depth, \
__x, __y, __w, __h, 0, ZPixmap, \