Skip to content

Commit e6e552d

Browse files
authored
Update validationES3.cpp
1 parent b44de71 commit e6e552d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/libANGLE/validationES3.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ bool ValidateTexImageFormatCombination(const Context *context,
346346
extensionFormatsAllowed = true;
347347
}
348348
break;
349+
case GL_RGB16_SNORM_EXT:
350+
if (type == GL_UNSIGNED_BYTE) type = GL_SHORT;
351+
if (target == 0) target = GL_TEXTURE_2D;
352+
extensionFormatsAllowed = true;
353+
break;
349354
default:
350355
break;
351356
}

0 commit comments

Comments
 (0)