diff options
author | Brian Paul <[email protected]> | 2003-09-09 15:10:44 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-09-09 15:10:44 +0000 |
commit | 90f673e3ecdf5546b13ab8b549bb1b7023669107 (patch) | |
tree | ef3c4d142135c348fc7e02b26da91963850b479d /src/mesa/main/dlist.c | |
parent | ca29a7c7315d36cfebd2e909323133dd7608b328 (diff) |
plug in vertex buffer object functions
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 36809fbe578..fa2ff4306b4 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -39,6 +39,9 @@ #include "attrib.h" #include "blend.h" #include "buffers.h" +#if FEATURE_ARB_vertex_buffer_object +#include "bufferobj.h" +#endif #include "clip.h" #include "colormac.h" #include "colortab.h" @@ -6595,7 +6598,22 @@ _mesa_init_dlist_table( struct _glapi_table *table, GLuint tableSize ) /* XXX todo */ /* ARB 27. GL_ARB_vertex_program */ /* XXX todo */ + /* ARB 28. GL_ARB_vertex_buffer_object */ +#if FEATURE_ARB_vertex_buffer_object + /* None of the extension functions get compiled */ + table->BindBufferARB = _mesa_BindBufferARB; + table->BufferDataARB = _mesa_BufferDataARB; + table->BufferSubDataARB = _mesa_BufferSubDataARB; + table->DeleteBuffersARB = _mesa_DeleteBuffersARB; + table->GenBuffersARB = _mesa_GenBuffersARB; + table->GetBufferParameterivARB = _mesa_GetBufferParameterivARB; + table->GetBufferPointervARB = _mesa_GetBufferPointervARB; + table->GetBufferSubDataARB = _mesa_GetBufferSubDataARB; + table->IsBufferARB = _mesa_IsBufferARB; + table->MapBufferARB = _mesa_MapBufferARB; + table->UnmapBufferARB = _mesa_UnmapBufferARB; +#endif /* XXX todo */ } |