projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb3594
)
Fix invalid enums passed to MapBuffer
author
Aapo Tahkola
<aapo@aapo-desktop.(none)>
Thu, 18 Jan 2007 02:46:04 +0000
(
04:46
+0200)
committer
Aapo Tahkola
<aapo@aapo-desktop.(none)>
Thu, 18 Jan 2007 02:46:04 +0000
(
04:46
+0200)
src/mesa/vbo/vbo_save_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_save_draw.c
b/src/mesa/vbo/vbo_save_draw.c
index daa686072ef8f977a570955affddb20c0b5767fb..a50d1cd9049862be3ab45595f38a254e80b100c3 100644
(file)
--- 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,