diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2019-03-22 14:29:38 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2019-03-25 07:44:05 +0200 |
commit | ec12316489380564ed242118d7cb035c7997e044 (patch) | |
tree | 6032b29907efae8de37268974e94297852ef6472 | |
parent | 9417793fb1453ab90f0dd53bf55904fc02b28215 (diff) |
st/mesa: fix compilation warning on storage_flags_to_buffer_flags
(warning: 'const' type qualifier on return type has no effect)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 4f77dad7874d..080dcccba0b6 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -223,7 +223,7 @@ storage_flags_to_buffer_flags(GLbitfield storageFlags) * usage hint, return a pipe_resource_usage value (PIPE_USAGE_DYNAMIC, * STREAM, etc). */ -static const enum pipe_resource_usage +static enum pipe_resource_usage buffer_usage(GLenum target, GLboolean immutable, GLbitfield storageFlags, GLenum usage) { |