summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapitemp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-05-10 04:35:09 +0000
committerBrian Paul <[email protected]>2003-05-10 04:35:09 +0000
commitea31ca47200d96b7cc687989ee7f9953819fddbb (patch)
treef6ecd2c249a274e098346760b0a5fcc3b8d8132a /src/mesa/glapi/glapitemp.h
parentbaa42c3364b58a7eaf08856c7d213d9ae0e3b021 (diff)
fix MapBufferARB() return type
Diffstat (limited to 'src/mesa/glapi/glapitemp.h')
-rw-r--r--src/mesa/glapi/glapitemp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index 3df11a5973d..707333043dc 100644
--- a/src/mesa/glapi/glapitemp.h
+++ b/src/mesa/glapi/glapitemp.h
@@ -4609,9 +4609,9 @@ KEYWORD1 GLboolean KEYWORD2 NAME(IsBufferARB)(GLuint buffer)
RETURN_DISPATCH(IsBufferARB, (buffer), (F, "glIsBufferARB(%d);\n", buffer));
}
-KEYWORD1 void KEYWORD2 NAME(MapBufferARB)(GLenum target, GLenum access)
+KEYWORD1 void * KEYWORD2 NAME(MapBufferARB)(GLenum target, GLenum access)
{
- DISPATCH(MapBufferARB, (target, access), (F, "glMapBufferARB(0x%x, 0x%x);\n", target, access));
+ RETURN_DISPATCH(MapBufferARB, (target, access), (F, "glMapBufferARB(0x%x, 0x%x);\n", target, access));
}
KEYWORD1 GLboolean KEYWORD2 NAME(UnmapBufferARB)(GLenum target)