From 3eb2b5c5e4e98b18844a90c93afad7b56f82269b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 Aug 2012 09:40:40 -0600 Subject: [PATCH] mesa: default_access_mode() returns a GLbitfield, not GLenum --- src/mesa/main/bufferobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 7d72092a2db..c7c21fb3956 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -131,7 +131,7 @@ get_buffer(struct gl_context *ctx, const char *func, GLenum target) } -static inline GLenum +static inline GLbitfield default_access_mode(const struct gl_context *ctx) { /* Table 2.6 on page 31 (page 44 of the PDF) of the OpenGL 1.5 spec says: -- 2.30.2