intel: Clean up intel_render_texture with a rename and a helper function.
authorEric Anholt <eric@anholt.net>
Tue, 31 May 2011 22:07:56 +0000 (15:07 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 13 Jun 2011 22:56:36 +0000 (15:56 -0700)
commitd29117752f10d9bcb61e7b26064a872017a64ebe
tree4c78534c45592d0b5f063d8a97f726c92f66cfaf
parentb17aab5753a6d14c9e757bedb186963b2dae8823
intel: Clean up intel_render_texture with a rename and a helper function.

The "newImage" isn't particularly new -- it might be the same texture
that was attached to the same attachment point before.  This function
also gets called when just rebinding back to an FBO with a texture
attachment.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_fbo.c