summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-02 09:40:40 -0600
committerBrian Paul <[email protected]>2012-08-02 09:40:40 -0600
commit3eb2b5c5e4e98b18844a90c93afad7b56f82269b (patch)
tree2ecd2d4effc1e415766eb4d8980ad7d5c5481a60 /src/mesa
parent4bd36956f82b30b1edc299e6d6e34e1bc911af01 (diff)
mesa: default_access_mode() returns a GLbitfield, not GLenum
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
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: