Fix UNSAFE DirectRendering flush EndRenderPass well 28/321428/1
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:25:31 +0000 (15:25 +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 39f46a23a5c448e5b5d06e33a097b238414d3e81..d7068e9bd58b017b1ad1e97c33f6e9f86663ad15 100644 (file)
@@ -1392,8 +1392,6 @@ void Context::ResetGLESState()
   mImpl->mGlStateCache.ResetTextureCache();
   mImpl->mCurrentPipeline = nullptr;
 
-  mImpl->mCurrentRenderTarget       = nullptr;
-  mImpl->mCurrentRenderPass         = nullptr;
   mImpl->mCurrentIndexBufferBinding = {};
 
   ClearState();