projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab1cec
)
llvmpipe: remove some left-over debug code
author
Brian Paul
<brianp@vmware.com>
Tue, 8 Dec 2009 01:18:37 +0000
(18:18 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 8 Dec 2009 01:18:37 +0000
(18:18 -0700)
src/gallium/drivers/llvmpipe/lp_rast.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_rast.c
b/src/gallium/drivers/llvmpipe/lp_rast.c
index
99f7108
..
01685b7
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/
src/gallium/drivers/llvmpipe/lp_rast.c
@@
-402,12
+402,9
@@
static void lp_rast_store_color( struct lp_rasterizer *rast,
if (x + w > rast->width)
w -= x + w - rast->width;
- if (y + h > rast->height) {
- int h2;
- h2 = h - (y + h - rast->height);
- assert(h2 <= TILE_SIZE);
- h = h2;
- }
+ if (y + h > rast->height)
+ h -= y + h - rast->height;
+
assert(w >= 0);
assert(h >= 0);
assert(w <= TILE_SIZE);