i915: Fix wrong sizeof argument in i915_update_tex_unit.
authorVinson Lee <vlee@freedesktop.org>
Wed, 14 Nov 2012 07:20:42 +0000 (23:20 -0800)
committerVinson Lee <vlee@freedesktop.org>
Wed, 21 Nov 2012 23:02:35 +0000 (15:02 -0800)
commit10f214e5b248e5dd5f323c689549cd66d2f6ad22
tree730afc2af3e361ab69f786f1c214d2f0a4d817e4
parent59b3d3ad6e77af92eb23b77c59dc60e6f9566d87
i915: Fix wrong sizeof argument in i915_update_tex_unit.

The bug was found by Coverity.

NOTE: This is a candidate for the stable branches.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/i915_texstate.c