From: Eunki, Hong Date: Fri, 21 Mar 2025 06:15:03 +0000 (+0900) Subject: Fix UNSAFE DirectRendering flush EndRenderPass well X-Git-Tag: dali_2.4.12~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4011f5e13c4a6b780791d151e472b52b15b1ae44;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Fix UNSAFE DirectRendering flush EndRenderPass well Since Context::ResetGLESState() reset current renderpass and render target info, it might not worsk well for EndRenderPass stage. Change-Id: If3223d784fa865565c457986acdfc1fdb40b92fb Signed-off-by: Eunki, Hong --- diff --git a/dali/internal/graphics/gles-impl/gles-context.cpp b/dali/internal/graphics/gles-impl/gles-context.cpp index 39f46a23a..d7068e9bd 100644 --- a/dali/internal/graphics/gles-impl/gles-context.cpp +++ b/dali/internal/graphics/gles-impl/gles-context.cpp @@ -1392,8 +1392,6 @@ void Context::ResetGLESState() mImpl->mGlStateCache.ResetTextureCache(); mImpl->mCurrentPipeline = nullptr; - mImpl->mCurrentRenderTarget = nullptr; - mImpl->mCurrentRenderPass = nullptr; mImpl->mCurrentIndexBufferBinding = {}; ClearState();