fix value returned by intel_new_renderbuffer_fb()
authorBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 16:42:39 +0000 (10:42 -0600)
committerBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 16:42:39 +0000 (10:42 -0600)
src/mesa/drivers/dri/i915tex/intel_fbo.c

index 559788f20a9b3f053b716e90f4b86e8ced0bdd80..928139b5d9bec86cf8d0504f45b31e5d64fe8ba1 100644 (file)
@@ -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;
 }
 
 /**