Nan hai Zou wrote: > Module: Mesa > Branch: mesa_7_6_branch > Commit: 76e836a41ad47237f80195c5dacb8bc57a7f2b69 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e836a41ad47237f80195c5dacb8bc57a7f2b69 > > Author: Zou Nan hai <nanhai....@intel.com> > Date: Wed Sep 16 13:25:46 2009 +0800 > > i965: do a flush in clear, fix openarena render issue, > fd.o bug# 23857 > > --- > > src/mesa/drivers/dri/intel/intel_clear.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_clear.c > b/src/mesa/drivers/dri/intel/intel_clear.c > index bce2372..9efe6a2 100644 > --- a/src/mesa/drivers/dri/intel/intel_clear.c > +++ b/src/mesa/drivers/dri/intel/intel_clear.c > @@ -170,6 +170,7 @@ intelClear(GLcontext *ctx, GLbitfield mask) > } > DBG("\n"); > } > + intelFlush(&intel->ctx); > _mesa_meta_clear(&intel->ctx, tri_mask); > }
In general, adding flush() calls is not the correct way to fix bugs (and can impact performance). This flush is probably hiding the true cause of the bug. Unfortunately, I don't know what that would be. -Brian ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev