diff options
Diffstat (limited to 'src/mesa/main/texstate.h')
-rw-r--r-- | src/mesa/main/texstate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.h b/src/mesa/main/texstate.h index 2514d104b62..abc07eafb4e 100644 --- a/src/mesa/main/texstate.h +++ b/src/mesa/main/texstate.h @@ -41,7 +41,6 @@ static inline struct gl_texture_unit * _mesa_get_tex_unit(struct gl_context *ctx, GLuint unit) { - ASSERT(unit >= 0); ASSERT(unit < Elements(ctx->Texture.Unit)); return &(ctx->Texture.Unit[unit]); } |