From e2ca788ae700aae75bf8d024c1374c38cc5574f9 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 7 Dec 2007 17:33:18 +0800 Subject: [PATCH] i915: fix the error in the previos commit. --- src/mesa/drivers/dri/i915/i915_vtbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2