projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swrast: Fix memory leaks in blit_linear.
[mesa.git]
/
src
/
mesa
/
swrast
/
s_aalinetemp.h
diff --git
a/src/mesa/swrast/s_aalinetemp.h
b/src/mesa/swrast/s_aalinetemp.h
index ba9f8abb9c34a0bf47cdc456e2da01f687950cf4..a517fb69732bfeb116235521aa60384768182c63 100644
(file)
--- a/
src/mesa/swrast/s_aalinetemp.h
+++ b/
src/mesa/swrast/s_aalinetemp.h
@@
-91,7
+91,7
@@
NAME(plot)(struct gl_context *ctx, struct LineInfo *line, int ix, int iy)
ATTRIB_LOOP_END
#endif
- if (line->span.end == MAX_WIDTH) {
+ if (line->span.end ==
SWRAST_
MAX_WIDTH) {
_swrast_write_rgba_span(ctx, &(line->span));
line->span.end = 0; /* reset counter */
}