From: Brian Paul Date: Thu, 2 Aug 2012 15:40:40 +0000 (-0600) Subject: mesa: default_access_mode() returns a GLbitfield, not GLenum X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3eb2b5c5e4e98b18844a90c93afad7b56f82269b;p=mesa.git mesa: default_access_mode() returns a GLbitfield, not GLenum --- 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: