mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
st/mesa: remove asserts in st_texture_image_copy
This is for 7.10 only. The fix in master looks too complex to be cherry-picked. The assertions fail when generating mipmaps for NPOT textures. This fixes: - fbo-generatemipmap-formats Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
48a3b03409
commit
b9f2eefd1d
1 changed files with 0 additions and 4 deletions
|
|
@ -285,10 +285,6 @@ st_texture_image_copy(struct pipe_context *pipe,
|
|||
struct pipe_box src_box;
|
||||
GLuint i;
|
||||
|
||||
assert(u_minify(src->width0, srcLevel) == width);
|
||||
assert(u_minify(src->height0, srcLevel) == height);
|
||||
assert(u_minify(src->depth0, srcLevel) == depth);
|
||||
|
||||
src_box.x = 0;
|
||||
src_box.y = 0;
|
||||
src_box.width = width;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue