intel: added intel_rendering_to_texture() helper function.
authorBrian Paul <brianp@vmware.com>
Fri, 16 Jan 2009 20:31:04 +0000 (13:31 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Jan 2009 20:31:04 +0000 (13:31 -0700)
commit345a08a77fa16f58ef956c896f1bf5f4cf118243
treece1e8c158a8dc2650d496a29cd14a62e6c319025
parent12c6d28cc7ef36a27389003e9898b512b6f722f9
intel: added intel_rendering_to_texture() helper function.

When we're rendering to textures we have to invert the viewport transformation.
This helper cleans up that test and can be used elsewhere...
src/mesa/drivers/dri/intel/intel_fbo.h