summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-08-31 17:24:55 +0000
committerKeith Whitwell <[email protected]>2006-08-31 17:24:55 +0000
commitb237d7fa14269bcd2847f9b6e40e8cebfec1f318 (patch)
tree89ec14d8bfe0fe88108b142880fd2c5b3f05a827 /src/mesa/drivers/dri/i965
parent6c44c53e06f28d54d245a5926893132eaad2eceb (diff)
When using the old technique to set up the front buffer mapping, there
is no need to add front.offset to sPriv->pFB, it seems. Fixes several glean issues and frontbuffer rendering generally.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index affd9051c98..14b461b1ee7 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -87,7 +87,7 @@ intelMapScreenRegions(__DRIscreenPrivate *sPriv)
* the renderbuffer address to point to the beginning of the
* renderbuffer.
*/
- intelScreen->front.map = sPriv->pFB + intelScreen->front.offset;
+ intelScreen->front.map = sPriv->pFB;
if (intelScreen->front.map == NULL) {
fprintf(stderr, "Failed to find framebuffer mapping\n");
return GL_FALSE;