From 51faca127005c41277df76bc8eafc8fd64ca0673 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 6 Apr 2006 22:11:57 +0000 Subject: Rename CLIP_ALL_BITS to CLIP_FRUSTUM_BITS to reflect the fact that the value only includes the 6 frustum bits, not the user-clip plane bit, nor the vertex cull bit. --- src/mesa/math/m_debug_clip.c | 2 +- src/mesa/math/m_xform.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/math') diff --git a/src/mesa/math/m_debug_clip.c b/src/mesa/math/m_debug_clip.c index 334f3ef030..ab28818359 100644 --- a/src/mesa/math/m_debug_clip.c +++ b/src/mesa/math/m_debug_clip.c @@ -245,7 +245,7 @@ static int test_cliptest_function( clip_func func, int np, ref->flags = 0; dco = rco = 0; - dca = rca = CLIP_ALL_BITS; + dca = rca = CLIP_FRUSTUM_BITS; ref_cliptest[psize]( source, ref, rm, &rco, &rca ); diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h index 63f1062fc8..99b071a46b 100644 --- a/src/mesa/math/m_xform.h +++ b/src/mesa/math/m_xform.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.5.1 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -99,7 +99,7 @@ _math_init_transformation(void); #define CLIP_FAR_BIT 0x20 #define CLIP_USER_BIT 0x40 #define CLIP_CULL_BIT 0x80 -#define CLIP_ALL_BITS 0x3f +#define CLIP_FRUSTUM_BITS 0x3f typedef GLvector4f * (_XFORMAPIP clip_func)( GLvector4f *vClip, -- cgit v1.2.3