mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
mesa: Also handle GL_TEXTURE_EXTENRAL_OES in max num levels.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
a43b107403
commit
02652eaa25
1 changed files with 1 additions and 0 deletions
|
|
@ -1056,6 +1056,7 @@ _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height,
|
|||
size = MAX3(width, height, depth);
|
||||
break;
|
||||
case GL_TEXTURE_RECTANGLE:
|
||||
case GL_TEXTURE_EXTERNAL_OES:
|
||||
return 1;
|
||||
default:
|
||||
assert(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue