mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
swrast: remove dead accum buffer context fields
This commit is contained in:
parent
e6e734f143
commit
bb887b72f7
2 changed files with 1 additions and 10 deletions
|
|
@ -597,7 +597,7 @@ _swrast_validate_derived( struct gl_context *ctx )
|
|||
|
||||
#define SWRAST_DEBUG 0
|
||||
|
||||
/* Public entrypoints: See also s_accum.c, s_bitmap.c, etc.
|
||||
/* Public entrypoints: See also s_bitmap.c, etc.
|
||||
*/
|
||||
void
|
||||
_swrast_Quad( struct gl_context *ctx,
|
||||
|
|
@ -755,10 +755,6 @@ _swrast_CreateContext( struct gl_context *ctx )
|
|||
ctx->Driver.MapTexture = _swrast_map_texture;
|
||||
ctx->Driver.UnmapTexture = _swrast_unmap_texture;
|
||||
|
||||
/* Optimized Accum buffer */
|
||||
swrast->_IntegerAccumMode = GL_FALSE;
|
||||
swrast->_IntegerAccumScaler = 0.0;
|
||||
|
||||
for (i = 0; i < MAX_TEXTURE_IMAGE_UNITS; i++)
|
||||
swrast->TextureSample[i] = NULL;
|
||||
|
||||
|
|
|
|||
|
|
@ -203,11 +203,6 @@ typedef struct
|
|||
/** Indicates how each attrib is to be interpolated (lines/tris) */
|
||||
GLenum _InterpMode[FRAG_ATTRIB_MAX]; /* GL_FLAT or GL_SMOOTH (for now) */
|
||||
|
||||
/* Accum buffer temporaries.
|
||||
*/
|
||||
GLboolean _IntegerAccumMode; /**< Storing unscaled integers? */
|
||||
GLfloat _IntegerAccumScaler; /**< Implicit scale factor */
|
||||
|
||||
/* Working values:
|
||||
*/
|
||||
GLuint StippleCounter; /**< Line stipple counter */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue