diff options
author | Vinson Lee <[email protected]> | 2009-12-26 15:55:38 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-26 15:55:38 -0800 |
commit | 309c156bae59124be17137d0f559d2c054231f7c (patch) | |
tree | 56b1d7440d5686a3a9075d95e1cdd075854ea716 /src/mesa/drivers/dri/i915 | |
parent | e81fe088f447b959b354fadf0d73fcc7ac7c468d (diff) |
i915: Fix assert.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_program.c b/src/mesa/drivers/dri/i915/i915_program.c index e87700f8e0a..ce2c9756116 100644 --- a/src/mesa/drivers/dri/i915/i915_program.c +++ b/src/mesa/drivers/dri/i915/i915_program.c @@ -239,7 +239,7 @@ GLuint i915_emit_texld( struct i915_fragment_program *p, } else { assert(GET_UREG_TYPE(dest) != REG_TYPE_CONST); - assert(dest = UREG(GET_UREG_TYPE(dest), GET_UREG_NR(dest))); + assert(dest == UREG(GET_UREG_TYPE(dest), GET_UREG_NR(dest))); /* Can't use unsaved temps for coords, as the phase boundary would result * in the contents becoming undefined. */ |