st/mesa: make 'st' const in st_mesa_format_to_pipe_format()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Mar 2017 16:55:02 +0000 (18:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 3 Apr 2017 09:29:18 +0000 (11:29 +0200)
commit90534e9dba5895c74bcd328a3e5248d06503c8b3
tree0cb482bc2240d38cdd2407697d501201dc6511ee
parent8d919ba3846aa5cd9dc85e0bdb98e71292ed9c97
st/mesa: make 'st' const in st_mesa_format_to_pipe_format()

This avoids a compilation warning since st_convert_image()
requires 'st' to be const.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_format.h