The problem is that I still get invalid reads when going from fullscreen mo=
to window mode for the first time, with my OSG application.
On Wednesday 07 March 2007 19:10, Michel D=C3=A4nzer wrote:
> On Wed, 2007-03-07 at 19:02 +0200, Panagiotis Papadakos wrote:
> > On Friday 02 March 2007 16:41, Michel D=C3=A4nzer wrote:
> > > On Mon, 2007-02-26 at 07:09 +0200, Panagiotis Papadakos wrote:
> > > > Well I think I have the correct patch for this.
> > >
> > > I'm afraid not; the test modification is incorrect. The test is an
> > > optimization to avoid doing unnecessary work when the context is
> > > already up to date wrt the drawables passed in and doesn't have
> > > anything to do with the stamps.
> > Well I think we should do this, because __driUtilUpdateDrawableInfo,
> > is called when lastStamp !=3D stamp, and although the drawables have not
> > changed, we get new cliprects. So we have to call radeonSetCliprects,
> > else we point to memory freed in DoBindContext.
> Right, just your test modification was wrong. This turned out to also
> fix issues with apps that don't call glViewport by default, so I pushed
> something based on it in the meantime, see
> http://bugs.freedesktop.org/show_bug.cgi?id=3D9876 . Thanks.