radeon: Don't crash generating mipmaps when pixels=NULL
[mesa.git] / src / mesa / drivers / dri / tdfx / tdfx_vb.h
index 7cb90f5a5b6a3993febf4c5f82494a17d22c60ee..1e190e85f643e724bae81c5620fbc7313a4c2475 100644 (file)
  *
  *
  */
-/* $XFree86: xc/lib/GL/mesa/src/drv/tdfx/tdfx_vb.h,v 1.2 2002/02/22 21:45:04 dawes Exp $ */
 
 #ifndef TDFXVB_INC
 #define TDFXVB_INC
 
-#include "mtypes.h"
+#include "main/mtypes.h"
 
 #include "tnl/tnl.h"
 #include "tnl/t_context.h"
@@ -39,7 +38,8 @@
 #define TDFX_TEX1_BIT       0x8
 #define TDFX_TEX0_BIT       0x10       
 #define TDFX_PTEX_BIT       0x20
-#define TDFX_MAX_SETUP      0x40
+#define TDFX_FOGC_BIT       0x40
+#define TDFX_MAX_SETUP      0x80
 
 #define _TDFX_NEW_RASTERSETUP (_NEW_TEXTURE |                  \
                               _DD_NEW_SEPARATE_SPECULAR |      \
@@ -62,7 +62,7 @@ extern void tdfxCheckTexSizes( GLcontext *ctx );
 
 extern void tdfxChooseVertexState( GLcontext *ctx );
 
-extern void tdfxBuildVertices( GLcontext *ctx, GLuint start, GLuint count,
+extern void tdfxBuildVertices( GLcontext *ctx, GLuint start, GLuint end,
                                GLuint newinputs );
 
 #endif