diff options
author | Rob Clark <[email protected]> | 2014-05-11 08:57:38 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-05-11 08:58:20 -0400 |
commit | 83b4ec03e77645c537d540a12253b3492bad4b59 (patch) | |
tree | 346a16e37b6973bbd88d27c721fd6076d64c4d87 /src/gallium/drivers/freedreno/a2xx/fd2_emit.c | |
parent | d9e102b220701c15730329290daa0176751af09a (diff) |
freedreno/a2xx: fix compiler warning
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_emit.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c index d1a586c8c9b..a533c298115 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_emit.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_emit.c @@ -125,7 +125,7 @@ emit_texture(struct fd_ringbuffer *ring, struct fd_context *ctx, { unsigned const_idx = fd2_get_const_idx(ctx, tex, samp_id); static const struct fd2_sampler_stateobj dummy_sampler = {}; - struct fd2_sampler_stateobj *sampler; + const struct fd2_sampler_stateobj *sampler; struct fd2_pipe_sampler_view *view; if (emitted & (1 << const_idx)) |