Fix segfault in _save_OBE_DrawElements() when using VBO and display list (bug 16156)
This was previously fixed in master by commit 982dcb74fd by Haihao Xiang.
This commit is contained in:
@@ -864,6 +864,9 @@ static void GLAPIENTRY _save_OBE_DrawElements(GLenum mode, GLsizei count, GLenum
|
||||
|
||||
_ae_map_vbos( ctx );
|
||||
|
||||
if (ctx->Array.ElementArrayBufferObj->Name)
|
||||
indices = ADD_POINTERS(ctx->Array.ElementArrayBufferObj->Pointer, indices);
|
||||
|
||||
vbo_save_NotifyBegin( ctx, mode | VBO_SAVE_PRIM_WEAK );
|
||||
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user