From: Xiang, Haihao Date: Fri, 7 Dec 2007 09:33:18 +0000 (+0800) Subject: i915: fix the error in the previos commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2ca788ae700aae75bf8d024c1374c38cc5574f9;p=mesa.git i915: fix the error in the previos commit. --- diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c index 4590057a2fe..58f681f74b7 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");