mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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>
This commit is contained in:
parent
59b3d3ad6e
commit
10f214e5b2
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
GLubyte border[4];
|
||||
GLfloat maxlod;
|
||||
|
||||
memset(state, 0, sizeof(state));
|
||||
memset(state, 0, sizeof(*state));
|
||||
|
||||
/*We need to refcount these. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue