From 0a3eaeadb96b313df0ac1e45eba07d39f432db72 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 22 Oct 2007 17:20:08 -0600 Subject: don't use GL types for get/put_tile() params --- src/mesa/drivers/x11/xm_surface.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/x11') diff --git a/src/mesa/drivers/x11/xm_surface.c b/src/mesa/drivers/x11/xm_surface.c index 562ec76636b..42d5d6bbc40 100644 --- a/src/mesa/drivers/x11/xm_surface.c +++ b/src/mesa/drivers/x11/xm_surface.c @@ -78,12 +78,12 @@ xmesa_rb(struct softpipe_surface *sps) static void get_tile(struct pipe_surface *ps, - GLuint x, GLuint y, GLuint w, GLuint h, GLfloat *p) + uint x, uint y, uint w, uint h, float *p) { struct xmesa_renderbuffer *xrb = xmesa_rb((struct softpipe_surface *) ps); GLubyte tmp[MAX_WIDTH * 4]; GLuint i, j; - unsigned w0 = w; + uint w0 = w; GET_CURRENT_CONTEXT(ctx); CLIP_TILE; @@ -101,12 +101,12 @@ get_tile(struct pipe_surface *ps, static void put_tile(struct pipe_surface *ps, - GLuint x, GLuint y, GLuint w, GLuint h, const GLfloat *p) + uint x, uint y, uint w, uint h, const float *p) { struct xmesa_renderbuffer *xrb = xmesa_rb((struct softpipe_surface *) ps); GLubyte tmp[MAX_WIDTH * 4]; GLuint i, j; - unsigned w0 = w; + uint w0 = w; GET_CURRENT_CONTEXT(ctx); CLIP_TILE; FLIP(y); -- cgit v1.2.3