use tnl_emit_func, it's safer
authorDaniel Borca <dborca@users.sourceforge.net>
Tue, 6 Jul 2004 12:37:09 +0000 (12:37 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Tue, 6 Jul 2004 12:37:09 +0000 (12:37 +0000)
src/mesa/drivers/glide/fxvb.c

index d96c6f5aba5a23082c4e48f714f4225d1ae834f4..b2367d4c27a50d5e7aa9e30d27efb0b93a67aa9f 100644 (file)
@@ -69,10 +69,10 @@ static void copy_pv2( GLcontext *ctx, GLuint edst, GLuint esrc )
 }
 
 static struct {
-   void               (*emit)( GLcontext *, GLuint, GLuint, void * );
+   tnl_emit_func       emit;
    tnl_copy_pv_func    copy_pv;
    tnl_interp_func     interp;
-   GLboolean          (*check_tex_sizes)( GLcontext *ctx );
+   GLboolean         (*check_tex_sizes)( GLcontext *ctx );
    GLuint               vertex_format;
 } setup_tab[MAX_SETUP];