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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user