diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 52b094330b9..42616ca4cb4 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -226,6 +226,9 @@ st_texture_match_image(struct st_context *st, ptLayers != pt->array_size) return GL_FALSE; + if (image->Level > pt->last_level) + return GL_FALSE; + return GL_TRUE; } |