[Mesa-dev] [PATCH 06/11] st/mesa: fix handling the fallback texture
Marek Olšák
maraeo at gmail.com
Wed Dec 16 08:32:11 PST 2015
On Wed, Dec 16, 2015 at 12:05 AM, Miklós Máté <mtmkls at gmail.com> wrote:
> ---
> src/mesa/state_tracker/st_atom_sampler.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c
> index 4252c27..7d3d8e7 100644
> --- a/src/mesa/state_tracker/st_atom_sampler.c
> +++ b/src/mesa/state_tracker/st_atom_sampler.c
> @@ -131,7 +131,7 @@ convert_sampler(struct st_context *st,
> struct pipe_sampler_state *sampler,
> GLuint texUnit)
> {
> - const struct gl_texture_object *texobj;
> + struct gl_texture_object *texobj;
> struct gl_context *ctx = st->ctx;
> struct gl_sampler_object *msamp;
Instead of that, you can make msamp const.
Marek
More information about the mesa-dev
mailing list