summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-05-10 04:35:09 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-05-10 04:35:09 +0000
commitea31ca47200d96b7cc687989ee7f9953819fddbb (patch)
treef6ecd2c249a274e098346760b0a5fcc3b8d8132a /src/mesa/glapi
parentbaa42c3364b58a7eaf08856c7d213d9ae0e3b021 (diff)
fix MapBufferARB() return type
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/APIspec4
-rw-r--r--src/mesa/glapi/glapitable.h2
-rw-r--r--src/mesa/glapi/glapitemp.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec
index 0d4a29e3e2..5075eaf035 100644
--- a/src/mesa/glapi/APIspec
+++ b/src/mesa/glapi/APIspec
@@ -1,4 +1,4 @@
-# $Id: APIspec,v 1.16 2003/04/21 14:53:40 brianp Exp $
+# $Id: APIspec,v 1.17 2003/05/10 04:35:36 brianp Exp $
# This file describes all the OpenGL functions.
# We use a number of Python scripts to parse this file and
@@ -8321,7 +8321,7 @@ category GL_ARB_vertex_buffer_object
offset 696
name MapBufferARB
-return void
+return void *
param target GLenum
param access GLenum
category GL_ARB_vertex_buffer_object
diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h
index bd51c8aad2..2bb31e2e0d 100644
--- a/src/mesa/glapi/glapitable.h
+++ b/src/mesa/glapi/glapitable.h
@@ -703,7 +703,7 @@ struct _glapi_table
void (*GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params); /* 694 */
void (*GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); /* 695 */
GLboolean (*IsBufferARB)(GLuint buffer); /* 696 */
- void (*MapBufferARB)(GLenum target, GLenum access); /* 697 */
+ void * (*MapBufferARB)(GLenum target, GLenum access); /* 697 */
GLboolean (*UnmapBufferARB)(GLenum target); /* 698 */
void (*DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); /* 699 */
};
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h
index 3df11a5973..707333043d 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)