summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-21 15:21:11 +0100
committerKeith Whitwell <[email protected]>2009-10-21 15:21:11 +0100
commit694f05ac18c54253910678709f2dd35c36f1e912 (patch)
treeb31c2342f3985ce6e7fea13cda7d5199ab847b1d /src/gallium/drivers/llvmpipe/lp_setup.c
parent341edde1d2e9f9f989d41869cc436b51942941e4 (diff)
llvmpipe: remove one of two definitions of TILESIZE
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index c0f516e12c7..6d841474680 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -194,8 +194,8 @@ rasterize_bins( struct setup_context *setup,
for (j = 0; j < setup->tiles_y; j++) {
lp_rast_start_tile( rast,
- i * TILESIZE,
- j * TILESIZE );
+ i * TILE_SIZE,
+ j * TILE_SIZE );
for (block = setup->tile[i][j].head; block; block = block->next) {
for (k = 0; k < block->count; k++) {
@@ -241,8 +241,8 @@ begin_binning( struct setup_context *setup )
setup->fb.zsbuf->height);
}
- setup->tiles_x = align(setup->fb.width, TILESIZE) / TILESIZE;
- setup->tiles_y = align(setup->fb.height, TILESIZE) / TILESIZE;
+ setup->tiles_x = align(setup->fb.width, TILE_SIZE) / TILE_SIZE;
+ setup->tiles_y = align(setup->fb.height, TILE_SIZE) / TILE_SIZE;
if (setup->fb.cbuf) {
if (setup->clear.flags & PIPE_CLEAR_COLOR)