Brian Paul wrote: > src/mesa/main/dlist.c | 4 ---- > src/mesa/main/mtypes.h | 1 - > 2 files changed, 5 deletions(-) > > commit diffs at > http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary > > New commits: > commit dbef6158c6c19a28dc96a96357c9ed9bd9422b88 > Author: Brian <[EMAIL PROTECTED]> > Date: Thu Aug 23 08:16:52 2007 +0100 > > remove unneeded CallStack array >
The commit has problem that you can not remove statement "ctx->ListState.CallDepth++" and "ctx->ListState.CallDepth--" which will cause segment fault. Attach the commit diff below. -Nian Wu --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -5737,8 +5737,6 @@ execute_list(GLcontext *ctx, GLuint list if (!dlist) return; - ctx->ListState.CallStack[ctx->ListState.CallDepth++] = dlist; - if (ctx->Driver.BeginCallList) ctx->Driver.BeginCallList(ctx, dlist); @@ -6625,8 +6623,6 @@ execute_list(GLcontext *ctx, GLuint list if (ctx->Driver.EndCallList) ctx->Driver.EndCallList(ctx); - - ctx->ListState.CallStack[ctx->ListState.CallDepth--] = NULL; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
