summaryrefslogtreecommitdiff
path: root/xc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib')
-rw-r--r--xc/lib/GL/mesa/src/drv/common/spantmp.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/xc/lib/GL/mesa/src/drv/common/spantmp.h b/xc/lib/GL/mesa/src/drv/common/spantmp.h
index 2028203fc..6a1b15c88 100644
--- a/xc/lib/GL/mesa/src/drv/common/spantmp.h
+++ b/xc/lib/GL/mesa/src/drv/common/spantmp.h
@@ -15,12 +15,15 @@ static void TAG(WriteRGBASpan)( const GLcontext *ctx,
y = Y_FLIP(y);
- if (DBG) fprintf(stderr, "WriteRGBASpan\n");
HW_CLIPLOOP()
{
GLint i = 0;
CLIPSPAN(x,y,n,x1,n1,i);
+
+ if (DBG) fprintf(stderr, "WriteRGBASpan %d..%d (x1 %d)\n",
+ (int)i, (int)n1, (int)x1);
+
if (mask)
{
for (;i<n1;i++,x1++)
@@ -55,14 +58,14 @@ static void TAG(WriteRGBSpan)( const GLcontext *ctx,
y = Y_FLIP(y);
-
- if (DBG) fprintf(stderr, "WriteRGBSpan\n");
-
HW_CLIPLOOP()
{
GLint i = 0;
CLIPSPAN(x,y,n,x1,n1,i);
+ if (DBG) fprintf(stderr, "WriteRGBSpan %d..%d (x1 %d)\n",
+ (int)i, (int)n1, (int)x1);
+
if (mask)
{
for (;i<n1;i++,x1++)