summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 22:09:10 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 22:09:10 +0000
commitd4a736d52cb2d6d82d2fbc56aa00f5cfea7ba54c (patch)
tree978b80352f2c785bc61a94df24b9797fcec43eb3 /include/GL
parentd708c74ed56c04f49f37bfac6e0a9e7c26617fc1 (diff)
added some casts
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/xmesa_xf86.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/GL/xmesa_xf86.h b/include/GL/xmesa_xf86.h
index 2be3efe78d..a07c7f4893 100644
--- a/include/GL/xmesa_xf86.h
+++ b/include/GL/xmesa_xf86.h
@@ -30,7 +30,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* Authors:
* Kevin E. Martin <kevin@precisioninsight.com>
*
- * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.4 2000/02/25 20:31:11 brianp Exp $
+ * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.5 2000/04/05 22:09:10 brianp Exp $
*/
#ifndef _XMESA_XF86_H_
@@ -128,12 +128,12 @@ do { \
do { \
xRectangle __r[1]; \
(void) __d; \
- ValidateGC(__b, __gc); \
+ ValidateGC((DrawablePtr)__b, __gc); \
__r[0].x = __x; \
__r[0].y = __y; \
__r[0].width = __w; \
__r[0].height = __h; \
- (*__gc->ops->PolyFillRect)(__b, __gc, 1, __r); \
+ (*__gc->ops->PolyFillRect)((DrawablePtr)__b, __gc, 1, __r); \
} while (0)
#define XMesaPutImage(__d,__b,__gc,__i,__sx,__sy,__x,__y,__w,__h) \