On Mon, 24 Feb 2003 21:13:09 -0700 Keith Whitwell <[EMAIL PROTECTED]> wrote:
> Keith Whitwell wrote: > > Michel Dänzer wrote: > > > >> On Son, 2003-02-09 at 23:40, Keith Whitwell wrote: > >> > >>> Felix Kühling wrote: > >>> > >>>> On Sun, 09 Feb 2003 09:53:55 -0700 > >>>> Keith Whitwell <[EMAIL PROTECTED]> wrote: > >>>> > >>>> > >>>>> diff -u -r1.1.2.7 radeon_state.c > >>>>> --- radeon_state.c 7 Feb 2003 20:22:16 -0000 1.1.2.7 > >>>>> +++ radeon_state.c 9 Feb 2003 16:52:03 -0000 > >>>>> @@ -990,6 +990,7 @@ > >>>>> case GL_TEXTURE_1D: > >>>>> case GL_TEXTURE_2D: > >>>>> case GL_TEXTURE_3D: > >>>>> + RADEON_FIREVERTICES( rmesa ); > >>>>> break; > >>>>> > >>>>> case GL_ALPHA_TEST: > >>>> > >>>> > >> > >> What became of this? It seems to fix the flag in bzflag having the wrong > >> texture with the r200 driver with SW TCL as well. > > > > > > I think I figured out the underlying problem. > > > > In core mesa, all statechanges are preceded by a call to > > ctx->Driver.FlushVertices(), to ensure all buffered vertices are fired > > before the state is changed. This is currently set to > > _tnl_FlushVertices(), which doesn't do anything to notify the driver > > about this impending statechange. > > > > We should probably wrap _tnl_FlushVertices() and install that instead in > > ctx->Driver.FlushVertices(). > > > > I'll code something up & post a patch. > > > > Keith > > Can you test this change? Strange, this fixes the small test programme I made, but I still have the missing instruments in Torcs that were fixed by the patches we exchanged before. Something's still missing :( > > Keith > Felix __\|/__ ___ ___ ___ __Tschüß_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___ _____Felix_______\Ä/\ \_____\ \_____\ \______U___just not everything____ [EMAIL PROTECTED] >o<__/ \___/ \___/ at the same time! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel