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>
This commit is contained in:
Tapani Pälli
2019-03-22 14:29:38 +02:00
parent 9417793fb1
commit ec12316489
+1 -1
View File
@@ -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)
{