summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-21 15:21:11 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-21 15:21:11 +0100
commit694f05ac18c54253910678709f2dd35c36f1e912 (patch)
treeb31c2342f3985ce6e7fea13cda7d5199ab847b1d /src/gallium/drivers/llvmpipe/lp_rast.c
parent341edde1d2e9f9f989d41869cc436b51942941e4 (diff)
llvmpipe: remove one of two definitions of TILESIZE
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 6fd6acc0fa..6e94e22e5b 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -71,8 +71,8 @@ boolean lp_rast_begin( struct lp_rasterizer *rast,
rast->state.write_zstencil = write_zstencil;
rast->state.write_color = write_color;
- rast->check_for_clipped_tiles = (width % TILESIZE != 0 ||
- height % TILESIZE != 0);
+ rast->check_for_clipped_tiles = (width % TILE_SIZE != 0 ||
+ height % TILE_SIZE != 0);
if (cbuf) {
rast->cbuf_transfer = screen->get_tex_transfer(rast->screen,
@@ -311,8 +311,8 @@ static void lp_rast_store_color( struct lp_rasterizer *rast )
{
const unsigned x = rast->x;
const unsigned y = rast->y;
- unsigned w = TILESIZE;
- unsigned h = TILESIZE;
+ unsigned w = TILE_SIZE;
+ unsigned h = TILE_SIZE;
if (x + w > rast->width)
w -= x + w - rast->width;