? DONE ? Makefile ? radeon.mesa.patch Index: radeon_span.c =================================================================== RCS file: /cvs/xc/lib/GL/mesa/src/drv/radeon/radeon_span.c,v retrieving revision 1.6 diff -u -u -r1.6 radeon_span.c --- radeon_span.c 2002/10/30 12:51:56 1.6 +++ radeon_span.c 2003/03/01 09:16:43 @@ -53,11 +53,11 @@ GLuint pitch = radeonScreen->frontPitch * radeonScreen->cpp; \ GLuint height = dPriv->h; \ char *buf = (char *)(sPriv->pFB + \ - rmesa->state.color.drawOffset + \ + rmesa->state.color.drawOffset -radeonScreen->frontOffset + \ (dPriv->x * radeonScreen->cpp) + \ (dPriv->y * pitch)); \ char *read_buf = (char *)(sPriv->pFB + \ - rmesa->state.pixel.readOffset + \ + rmesa->state.pixel.readOffset -radeonScreen->frontOffset+ \ (dPriv->x * radeonScreen->cpp) + \ (dPriv->y * pitch)); \ GLuint p; \ @@ -71,7 +71,7 @@ GLuint height = dPriv->h; \ GLuint xo = dPriv->x; \ GLuint yo = dPriv->y; \ - char *buf = (char *)(sPriv->pFB + radeonScreen->depthOffset); \ + char *buf = (char *)(sPriv->pFB + radeonScreen->depthOffset-radeonScreen->frontOffset); \ (void) buf #define LOCAL_STENCIL_VARS LOCAL_DEPTH_VARS