diff options
author | Daniel Borca <[email protected]> | 2004-08-16 08:34:13 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-08-16 08:34:13 +0000 |
commit | ddff3525869850229a6a79ee2bd58b391c8bbfe6 (patch) | |
tree | 9b028c8be34ee9605ef9fb6b2e31ef56e44b3a7c /src/mesa/drivers/glide/fxsetup.c | |
parent | 624477afbba684922d02fa5c76b4d10664df9063 (diff) |
cleanup
Diffstat (limited to 'src/mesa/drivers/glide/fxsetup.c')
-rw-r--r-- | src/mesa/drivers/glide/fxsetup.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/glide/fxsetup.c b/src/mesa/drivers/glide/fxsetup.c index a1c018a38e6..c2112294973 100644 --- a/src/mesa/drivers/glide/fxsetup.c +++ b/src/mesa/drivers/glide/fxsetup.c @@ -503,10 +503,7 @@ fxSelectSingleTMUSrc_NoLock(fxMesaContext fxMesa, GLint tmu, FxBool LODblend) tex1.FunctionAlpha = GR_COMBINE_FUNCTION_LOCAL; tex1.FactorAlpha = GR_COMBINE_FACTOR_NONE; - /* [dBorca] Hack alert: - * don't use GR_COMBINE_FUNCTION_SCALE_OTHER - * such that Glide recognizes TMU0 in passthrough mode - */ + /* correct values to set TMU0 in passthrough mode */ tex0.FunctionRGB = GR_COMBINE_FUNCTION_BLEND; tex0.FactorRGB = GR_COMBINE_FACTOR_ONE; tex0.FunctionAlpha = GR_COMBINE_FUNCTION_BLEND; @@ -1374,7 +1371,7 @@ fxDDBlendFuncSeparate(GLcontext * ctx, GLenum sfactor, GLenum dfactor, GLenum as GLboolean haveAlpha = fxMesa->haveHwAlpha; GrAlphaBlendFnc_t sfact, dfact, asfact, adfact; - /* [dBorca] Hack alert: + /* * 15/16 BPP alpha channel alpha blending modes * 0x0 AZERO Zero * 0x4 AONE One |