summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-04-11 08:11:52 -0600
committerBrian <[email protected]>2007-04-11 08:11:52 -0600
commitb0bba038467a0b22618be105010b7b3b3859b4e5 (patch)
tree0b5170ad5a4df68f0dd094cc3d8aa9ca447124dc /src
parentba876be0c0711f089c0cde9739f349b137430770 (diff)
use _mesa_reference_renderbuffer(), fix typo
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_fbo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_fbo.c b/src/mesa/drivers/dri/i915tex/intel_fbo.c
index 87ef22f52f4..349912ffecd 100644
--- a/src/mesa/drivers/dri/i915tex/intel_fbo.c
+++ b/src/mesa/drivers/dri/i915tex/intel_fbo.c
@@ -520,7 +520,7 @@ intel_framebuffer_renderbuffer(GLcontext * ctx,
/**
* When glFramebufferTexture[123]D is called this function sets up the
- * gl_renderbuffer wrapp around the texture image.
+ * gl_renderbuffer wrapper around the texture image.
* This will have the region info needed for hardware rendering.
*/
static struct intel_renderbuffer *
@@ -606,7 +606,7 @@ intel_render_texture(GLcontext * ctx,
irb = intel_wrap_texture(ctx, newImage);
if (irb) {
/* bind the wrapper to the attachment point */
- att->Renderbuffer = &irb->Base;
+ _mesa_reference_renderbuffer(&att->Renderbuffer, &irb->Base);
}
else {
/* fallback to software rendering */