From a3b4b1173950599785e4f05278e868180a2bf387 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Thu, 18 Jan 2007 04:46:04 +0200 Subject: [PATCH] Fix invalid enums passed to MapBuffer --- src/mesa/vbo/vbo_save_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index daa686072ef..a50d1cd9049 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -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, -- 2.30.2