diff options
author | Aapo Tahkola <aapo@aapo-desktop.(none)> | 2007-01-18 04:46:04 +0200 |
---|---|---|
committer | Aapo Tahkola <aapo@aapo-desktop.(none)> | 2007-01-18 04:46:04 +0200 |
commit | a3b4b1173950599785e4f05278e868180a2bf387 (patch) | |
tree | 0f33110262afc5e559455ae913e60177001ee499 /src/mesa/vbo/vbo_save_draw.c | |
parent | 2cb3594af9cd1434aa2c408cd6f8d51bcd12e8ea (diff) |
Fix invalid enums passed to MapBuffer
Diffstat (limited to 'src/mesa/vbo/vbo_save_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 2 |
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 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, |