projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d2835
)
More fixes, glean seems to run now.
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 21 Nov 2006 13:22:34 +0000
(13:22 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 21 Nov 2006 13:22:34 +0000
(13:22 +0000)
src/mesa/main/api_arrayelt.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_arrayelt.c
b/src/mesa/main/api_arrayelt.c
index f0164a80f6ac4ad52e770dfbcd3f789645cc556f..b3c33f2a79f8cac21bb4073962f09e2e0b01b07e 100644
(file)
--- a/
src/mesa/main/api_arrayelt.c
+++ b/
src/mesa/main/api_arrayelt.c
@@
-1051,7
+1051,7
@@
GLboolean _ae_create_context( GLcontext *ctx )
FogCoordFuncs[6] = _gloffset_FogCoordfvEXT;
FogCoordFuncs[7] = _gloffset_FogCoorddvEXT;
- ctx->aelt_context =
M
ALLOC( sizeof(AEcontext) );
+ ctx->aelt_context =
C
ALLOC( sizeof(AEcontext) );
if (!ctx->aelt_context)
return GL_FALSE;
@@
-1220,7
+1220,8
@@
void _ae_map_vbos( GLcontext *ctx )
GL_DYNAMIC_DRAW_ARB,
actx->vbo[i]);
- actx->mapped_vbos = GL_TRUE;
+ if (actx->nr_vbos)
+ actx->mapped_vbos = GL_TRUE;
}
void _ae_unmap_vbos( GLcontext *ctx )