mesa/main: merge identical checks
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29528>
This commit is contained in:
committed by
Marge Bot
parent
e154c403fd
commit
53b99d766e
@@ -440,10 +440,6 @@ _is_target_supported(struct gl_context *ctx, GLenum target)
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_1D_ARRAY:
|
||||
if (!_mesa_has_EXT_texture_array(ctx))
|
||||
return false;
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_2D_ARRAY:
|
||||
if (!_mesa_has_EXT_texture_array(ctx))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user