summaryrefslogtreecommitdiff
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorAapo Tahkola <aapo@aapo-desktop.(none)>2007-01-18 04:46:04 +0200
committerAapo Tahkola <aapo@aapo-desktop.(none)>2007-01-18 04:46:04 +0200
commita3b4b1173950599785e4f05278e868180a2bf387 (patch)
tree0f33110262afc5e559455ae913e60177001ee499 /src/mesa/vbo
parent2cb3594af9cd1434aa2c408cd6f8d51bcd12e8ea (diff)
Fix invalid enums passed to MapBuffer
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_save_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c
index daa686072e..a50d1cd904 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,