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



-------------------------------------------------------
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

Reply via email to