[Tizen] Fix UNSAFE DirectRendering flush EndRenderPass well 27/321427/1 accepted/tizen/9.0/unified/20250410.163729
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 21 Mar 2025 06:15:03 +0000 (15:15 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 21 Mar 2025 06:15:03 +0000 (15:15 +0900)
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 <eunkiki.hong@samsung.com>
dali/internal/graphics/gles-impl/gles-context.cpp

index c0f7e5a12bfe1cd65745b6c539c06bacaf8ec9c0..1b1159dbcfbf28fb379e512c72c8b0b928ff28cb 100644 (file)
@@ -1403,8 +1403,6 @@ void Context::ResetGLESState()
   mImpl->mCurrentPipeline = nullptr;
   mImpl->mCurrentUBOBindings.clear();
   mImpl->mCurrentTextureBindings.clear();
-  mImpl->mCurrentRenderTarget       = nullptr;
-  mImpl->mCurrentRenderPass         = nullptr;
   mImpl->mCurrentIndexBufferBinding = {};
   mImpl->mCurrentSamplerBindings    = {};