From 0b00ef9429418c3d063d4c9df577b6409c60456c Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 12 Jan 2022 13:50:28 +0900 Subject: [PATCH] Revert "[Tizen] Add log to prevent invalid access to array" This reverts commit c0baeee5e3d429e38eb7988d7fe91ccf9e19d129. --- dali/internal/graphics/gles-impl/gles-context.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dali/internal/graphics/gles-impl/gles-context.cpp b/dali/internal/graphics/gles-impl/gles-context.cpp index 9c21096..de5e058 100644 --- a/dali/internal/graphics/gles-impl/gles-context.cpp +++ b/dali/internal/graphics/gles-impl/gles-context.cpp @@ -864,12 +864,6 @@ void Context::ActiveTexture(uint32_t textureBindingIndex) void Context::BindTexture(GLenum target, BoundTextureType textureTypeId, uint32_t textureId) { uint32_t typeId = static_cast(textureTypeId); - if(mImpl->mGlStateCache.mActiveTextureUnit >= MAX_TEXTURE_UNITS || typeId >= MAX_TEXTURE_TARGET) - { - DALI_LOG_ERROR("Invalid index (%d, %d)\n", mImpl->mGlStateCache.mActiveTextureUnit, typeId); - std::abort(); - } - if(mImpl->mGlStateCache.mBoundTextureId[mImpl->mGlStateCache.mActiveTextureUnit][typeId] != textureId) { mImpl->mGlStateCache.mBoundTextureId[mImpl->mGlStateCache.mActiveTextureUnit][typeId] = textureId; -- 2.7.4