From: Aapo Tahkola Date: Thu, 18 Jan 2007 02:46:04 +0000 (+0200) Subject: Fix invalid enums passed to MapBuffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3b4b1173950599785e4f05278e868180a2bf387;p=mesa.git Fix invalid enums passed to MapBuffer --- 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,