From f595212336ae63c981f0f39f4ea1dec67ff7fe25 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 2 May 2002 00:59:20 +0000 Subject: Implemented GL_ARB_texture_env_crossbar. Simplification of some of the texture application code. --- src/mesa/swrast/s_context.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_context.h') diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index b0ca5bf1b5..900c1907f6 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -1,4 +1,4 @@ -/* $Id: s_context.h,v 1.17 2002/04/19 14:05:50 brianp Exp $ */ +/* $Id: s_context.h,v 1.18 2002/05/02 00:59:20 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -124,6 +124,7 @@ typedef struct GLfloat _MinMagThresh[MAX_TEXTURE_UNITS]; GLfloat _backface_sign; GLboolean _PreferPixelFog; + GLboolean _AnyTextureCombine; /* Accum buffer temporaries. */ @@ -176,6 +177,11 @@ typedef struct blend_func BlendFunc; TextureSampleFunc TextureSample[MAX_TEXTURE_UNITS]; + /** Buffer for saving the sampled texture colors. + * Needed for GL_ARB_texture_env_crossbar implementation. + */ + GLchan *TexelBuffer; + } SWcontext; -- cgit v1.2.3