From 009542a0f7c2f90e3057f10bd1b17ae65f906d72 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Fri, 2 Jul 2004 10:34:48 +0000 Subject: added GL_EXT_fog_coord. added GL_EXT_blend_equation_separate. minor cleanup. --- src/mesa/drivers/glide/fxdrv.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/glide/fxdrv.h') diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h index cfe43bb687..af4765d7a9 100644 --- a/src/mesa/drivers/glide/fxdrv.h +++ b/src/mesa/drivers/glide/fxdrv.h @@ -104,7 +104,8 @@ #define SETUP_PTEX 0x20 #define SETUP_PSIZ 0x40 #define SETUP_SPEC 0x80 -#define MAX_SETUP 0x100 +#define SETUP_FOGC 0x100 +#define MAX_SETUP 0x200 #define FX_NUM_TMU 2 @@ -322,7 +323,8 @@ typedef struct GrAlphaBlendFnc_t blendDstFuncRGB; GrAlphaBlendFnc_t blendSrcFuncAlpha; GrAlphaBlendFnc_t blendDstFuncAlpha; - GrAlphaBlendOp_t blendEq; + GrAlphaBlendOp_t blendEqRGB; + GrAlphaBlendOp_t blendEqAlpha; /* Depth test */ @@ -727,6 +729,9 @@ void fxSetupTexture (GLcontext *ctx); extern GLuint fx_check_IsInHardware(GLcontext *ctx); /* run-time debugging */ +#ifndef FX_DEBUG +#define FX_DEBUG 0 +#endif #if FX_DEBUG extern int TDFX_DEBUG; #else -- cgit v1.2.3