summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2007-12-07 17:33:18 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2007-12-07 17:33:18 +0800
commite2ca788ae700aae75bf8d024c1374c38cc5574f9 (patch)
tree81c559848f04542764a08c1ff5d2da32b68ddf93 /src
parentc1a3ac0e45d6b69d5567f80b76815b2e6997128d (diff)
i915: fix the error in the previos commit.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/i915_vtbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c
index 4590057a2f..58f681f74b 100644
--- a/src/mesa/drivers/dri/i915/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i915_vtbl.c
@@ -442,7 +442,7 @@ i915_do_emit_state(struct intel_context *intel)
}
if (dirty & I915_UPLOAD_PROGRAM) {
- if (ProgramSize) {
+ if (state->ProgramSize) {
if (INTEL_DEBUG & DEBUG_STATE)
fprintf(stderr, "I915_UPLOAD_PROGRAM:\n");