Skip to content

mesa: Remove extra texObj.

Vinson Lee requested to merge vlee/mesa:fix-cid-1470550 into master

Fix defect reported by Coverity Scan.

Evaluation order violation (EVALUATION_ORDER) write_write_typo: In texObj = texObj = _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt], texObj is written twice with the same value.

Fixes: d0e18550 ("mesa: optimize saving/restoring bound textures for glPush/PopAttrib") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @mareko

Merge request reports