#include "glheader.h"
#include "context.h"
#ifndef FX
+#include "bufferobj.h"
#include "extensions.h"
#include "macros.h"
#include "matrix.h"
#ifdef MATROX
" (MGA)"
#endif
- "\0port (c) Borca Daniel aug-2003";
+ "\0port (c) Borca Daniel oct-2003";
default:
return NULL;
}
tnl = TNL_CONTEXT(ctx);
tnl->Driver.RunPipeline = _tnl_run_pipeline;
- dd->SetBuffer = set_buffer;
+#if FEATURE_ARB_vertex_buffer_object
+ ctx->Driver.NewBufferObject = _mesa_new_buffer_object;
+ ctx->Driver.DeleteBuffer = _mesa_delete_buffer_object;
+ ctx->Driver.BindBuffer = NULL;
+ ctx->Driver.BufferData = _mesa_buffer_data;
+ ctx->Driver.BufferSubData = _mesa_buffer_subdata;
+ ctx->Driver.MapBuffer = _mesa_buffer_map;
+ ctx->Driver.UnmapBuffer = NULL;
+#endif
+
+ dd->SetBuffer = set_buffer;
/* Install swsetup for tnl->Driver.Render.*:
*/