diff options
author | George Sapountzis <[email protected]> | 2007-04-13 18:13:08 +0300 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2007-04-13 18:13:08 +0300 |
commit | 9f8373d5cada37ed71e5908a7158d56d9a4c34d5 (patch) | |
tree | 614090ad77d6995d243e452e9beef1c1777cbaf2 /include | |
parent | 50aaabc248c9823106ff772873cbf2631d4dadcd (diff) |
xmesa: drop unused XMesaPutImageHelper.
It could only be called from XMesaCopySubBuffer but this function is not used
by XFree86.
It seems that XMesaPutImageHelper would handle sub-images but never got
finished. Proper sub-image helpers should be written if need be.
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/xmesa_xf86.h | 3 |
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, \ |