mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
mesa: remove useless assert in texture_storage()
Already checked in _mesa_choose_texture_format(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
f95420d74e
commit
1c6c42c289
1 changed files with 0 additions and 1 deletions
|
|
@ -406,7 +406,6 @@ texture_storage(struct gl_context *ctx, GLuint dims,
|
|||
|
||||
texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
|
||||
internalformat, GL_NONE, GL_NONE);
|
||||
assert(texFormat != MESA_FORMAT_NONE);
|
||||
|
||||
/* check that width, height, depth are legal for the mipmap level */
|
||||
dimensionsOK = _mesa_legal_texture_dimensions(ctx, target, 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue