diff options
author | Brian <[email protected]> | 2007-10-22 17:20:08 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-22 17:20:08 -0600 |
commit | 0a3eaeadb96b313df0ac1e45eba07d39f432db72 (patch) | |
tree | 087745facc133d20ba72fbfb77e0c84d9b8663c5 /src | |
parent | beefc6011bce9e99cb46430186de1c13f027cb05 (diff) |
don't use GL types for get/put_tile() params
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/xm_surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |