mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmap
authorBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:50:25 +0000 (09:50 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:51:50 +0000 (09:51 -0600)
commit2c9812e3d346eb07180da520909b142e8afc1c59
treec5498d11de27fe392a4e8c8a88bef792f7e8d33c
parent6807d96f8efeecd9d71e1e1bff856e7e04f5f364
mesa: use _mesa_set_vp_override() in glDraw/CopyPixels and glBitmap

We don't use the vertex program in these functions and the driver may
install its own.  This fixes the broken glCopyPixels swrast fallback in
i965 and possibly other drivers.  In particular, glCopyPixels sometimes
didn't work because the fixed-function fragment program was replacing all
fragment colors with the current raster color.
src/mesa/main/drawpix.c