diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2007-12-07 17:33:18 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2007-12-07 17:33:18 +0800 |
commit | e2ca788ae700aae75bf8d024c1374c38cc5574f9 (patch) | |
tree | 81c559848f04542764a08c1ff5d2da32b68ddf93 /src | |
parent | c1a3ac0e45d6b69d5567f80b76815b2e6997128d (diff) |
i915: fix the error in the previos commit.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_vtbl.c | 2 |
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"); |