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)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Sun, 20 Jan 2013 14:08:28 +0000 (15:08 +0100)
commitb5d25dd849a8b843f05bdc92c5f06bbd321b8eb6
treed3d27a1e9caf4996aa7509d01b4a4018363cd9b5
parentc66256b484a161ba2ea3b84084c05e8029c3d2dc
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>
(cherry picked from commit 10f214e5b248e5dd5f323c689549cd66d2f6ad22)
src/mesa/drivers/dri/i915/i915_texstate.c