diff options
author | keithw <keithw> | 2000-02-14 20:08:57 +0000 |
---|---|---|
committer | keithw <keithw> | 2000-02-14 20:08:57 +0000 |
commit | 217b46ef3c0ac205e5e146456273fe9fab0d0d64 (patch) | |
tree | a9ed47c30ed48653916f4b9869ba615391a5371b | |
parent | 7f0a14306795a822e6a6f1af170859624be5489e (diff) |
debug changesi810-20000214-beta2
-rw-r--r-- | xc/lib/GL/mesa/src/drv/common/spantmp.h | 11 |
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++) |