summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-31 10:42:39 -0600
committerBrian <[email protected]>2007-07-31 10:42:39 -0600
commit616c329e81f03183924b57cb19f027b22c9307f8 (patch)
tree88966cb9d4fc55f3ac38dd7fd1a4d27a68bf0ddb
parented83159ff46ed6593a367ab93ce8b310dce91b77 (diff)
fix value returned by intel_new_renderbuffer_fb()
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_fbo.c b/src/mesa/drivers/dri/i915tex/intel_fbo.c
index 559788f20a9..928139b5d9b 100644
--- a/src/mesa/drivers/dri/i915tex/intel_fbo.c
+++ b/src/mesa/drivers/dri/i915tex/intel_fbo.c
@@ -382,7 +382,7 @@ intel_new_renderbuffer_fb(GLuint intFormat)
irb->Base.surface = intel_new_surface(intFormat);
irb->Base.surface->rb = irb;
- return &irb->Base;
+ return irb;
}
/**