OSDN Git Service

i915: reset swrast state after calling swrast DrawPixels.
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Dec 2007 02:43:43 +0000 (10:43 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Dec 2007 02:43:43 +0000 (10:43 +0800)
commitaac2d99dc316c069faa46dd43ff034155754c6b3
treefc80a7584604e5a277f8d3c1c7a189ab146fae2c
parentb422e5ad3716d32f2434ca38819f4a877c7eeeeb
i915: reset swrast state after calling swrast DrawPixels.
In order to optimize DrawPixels, the i915 texenv program isn't
applied to swrast DrawPixels in the i915 driver. This causes this
program isn't applied to any following swrast functions. Resetting
the swrast state fixes this issue.  Fix #13614
src/mesa/drivers/dri/intel/intel_pixel_draw.c