From 1e1aac034c986a08248861363c0baa27dc2ae2d5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 13 Nov 2000 20:02:56 +0000 Subject: Cleanup of derived state calculation prior to seperating software T&L into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup. --- src/mesa/main/clip.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/mesa/main/clip.c') diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c index 19675552ab..244753020b 100644 --- a/src/mesa/main/clip.c +++ b/src/mesa/main/clip.c @@ -1,4 +1,4 @@ -/* $Id: clip.c,v 1.13 2000/11/05 18:40:57 keithw Exp $ */ +/* $Id: clip.c,v 1.14 2000/11/13 20:02:56 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -215,19 +215,6 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) } -void gl_update_userclip( GLcontext *ctx ) -{ - GLuint p; - - for (p = 0 ; p < MAX_CLIP_PLANES ; p++) { - if (ctx->Transform.ClipEnabled[p]) { - gl_transform_vector( ctx->Transform._ClipUserPlane[p], - ctx->Transform.EyeUserPlane[p], - ctx->ProjectionMatrix.inv ); - } - } -} - void _mesa_GetClipPlane( GLenum plane, GLdouble *equation ) { -- cgit v1.2.3