mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
state_tracker: remove written but never used variable.
This commit is contained in:
parent
2f98ac473b
commit
8ca76386f5
1 changed files with 0 additions and 2 deletions
|
|
@ -114,7 +114,6 @@ st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
|
|||
uint semantic_names[2 + MAX_TEXTURE_UNITS];
|
||||
uint semantic_indexes[2 + MAX_TEXTURE_UNITS];
|
||||
struct pipe_vertex_element velements[2 + MAX_TEXTURE_UNITS];
|
||||
GLbitfield inputs = VERT_BIT_POS;
|
||||
|
||||
st_validate_state(st);
|
||||
|
||||
|
|
@ -128,7 +127,6 @@ st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
|
|||
numTexCoords = 0;
|
||||
for (i = 0; i < ctx->Const.MaxTextureUnits; i++) {
|
||||
if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_2D_BIT) {
|
||||
inputs |= VERT_BIT_TEX(i);
|
||||
numTexCoords++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue