mesa: In emit_texenv() type mismatch was forced with typecast
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Mon, 24 Feb 2014 07:42:17 +0000 (09:42 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 18 Jun 2014 13:15:51 +0000 (16:15 +0300)
commitfe5224b16a7a614fad07edee86cdcc8f47446f5e
treef729b2ca8b39a95f7c66e3859aec13008c704385
parent6cd30f5d730c3c23251a8e72e17fe65810460764
mesa: In emit_texenv() type mismatch was forced with typecast

Type mismatch caused random memory to be copied when casted
memory area was smaller than expected type.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/ff_fragment_shader.cpp