summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxdd.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>1999-10-08 11:07:54 +0000
committerKeith Whitwell <keith@tungstengraphics.com>1999-10-08 11:07:54 +0000
commitf8b3fc54540b76c491cee6624c48ca935b07c4b0 (patch)
tree5a533af34d2ab893ac6132b159e0f1bea963d563 /src/mesa/drivers/glide/fxdd.c
parent485f04074151686fa24d40e3eeb83029d3d8c425 (diff)
fixed voodoo initialization
Diffstat (limited to 'src/mesa/drivers/glide/fxdd.c')
-rw-r--r--src/mesa/drivers/glide/fxdd.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index a726b0a44f..22d24ff205 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -368,28 +368,11 @@ static const GLubyte *fxDDGetString(GLcontext *ctx, GLenum name)
}
-int fxDDInitFxMesaContext( fxMesaContext fxMesa,
- int win,
- int res,
- int ref,
- int aux )
+int fxDDInitFxMesaContext( fxMesaContext fxMesa )
{
- FX_GrContext_t glideContext = FX_grSstWinOpen((FxU32)win,res,ref,
-#if FXMESA_USE_ARGB
- GR_COLORFORMAT_ARGB,
-#else
- GR_COLORFORMAT_ABGR,
-#endif
- GR_ORIGIN_LOWER_LEFT,
- 2,
- aux);
-
- if (!glideContext) return 0;
FX_setupGrVertexLayout();
- fxMesa->glideContext = glideContext;
-
if (getenv("FX_EMULATE_SINGLE_TMU"))
fxMesa->haveTwoTMUs = GL_FALSE;