From cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 26 Dec 2000 05:09:27 +0000 Subject: Major rework of tnl module New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges. --- src/mesa/drivers/ggi/ggimesa.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/ggi/ggimesa.c') diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index 6ba0d5db22..b10f74ec0c 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -580,7 +580,7 @@ void GGIMesaSwapBuffers(void) } } -static void gl_ggiUpdateState(GLcontext *ctx) +static void gl_ggiUpdateState(GLcontext *ctx, GLuint new_state) { void *func; @@ -589,9 +589,9 @@ static void gl_ggiUpdateState(GLcontext *ctx) /* Propogate statechange information to swrast and swrast_setup * modules. The GGI driver has no internal GL-dependent state. */ - _swrast_InvalidateState(ctx, ctx->NewState); - _swsetup_InvalidateState(ctx, ctx->NewState); - _tnl_InvalidateState(ctx, ctx->NewState); + _swrast_InvalidateState(ctx, new_state); + _swsetup_InvalidateState(ctx, new_state); + _tnl_InvalidateState(ctx, new_state); func = (void *)CTX_OPMESA(ctx)->update_state; -- cgit v1.2.3