diff options
author | Brian Paul <[email protected]> | 2002-05-02 00:59:20 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-05-02 00:59:20 +0000 |
commit | f595212336ae63c981f0f39f4ea1dec67ff7fe25 (patch) | |
tree | 9c0762c92e333184234beb5d453462d940da1266 /src/mesa/swrast/s_context.h | |
parent | c450d57991628318696ee7a2bd052f91f480cda3 (diff) |
Implemented GL_ARB_texture_env_crossbar.
Simplification of some of the texture application code.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r-- | src/mesa/swrast/s_context.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index b0ca5bf1b57..900c1907f60 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; |