Fix invalid enums passed to MapBuffer

This commit is contained in:
Aapo Tahkola 2007-01-18 04:46:04 +02:00
parent 2cb3594af9
commit a3b4b11739

View file

@ -152,7 +152,7 @@ static void vbo_save_loopback_vertex_list( GLcontext *ctx,
{
const char *buffer = ctx->Driver.MapBuffer(ctx,
GL_ARRAY_BUFFER_ARB,
GL_DYNAMIC_READ_ARB, /* ? */
GL_READ_ONLY, /* ? */
list->vertex_store->bufferobj);
vbo_loopback_vertex_list( ctx,