Skip to content

Commit 2228adc

Browse files
authored
Update validationES3.cpp
1 parent 332ad8e commit 2228adc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/libANGLE/validationES3.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,6 @@ bool ValidateTexImageFormatCombination(const Context *context,
347347
}
348348
break;
349349
case GL_RGB16_SNORM_EXT:
350-
if (type == GL_UNSIGNED_BYTE) type = GL_SHORT;
351-
if (target == 0) target = GL_TEXTURE_2D;
352350
extensionFormatsAllowed = true;
353351
break;
354352
default:

0 commit comments

Comments
 (0)