projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Invalidate depth and stencil buffers after finishing the rendering
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
graphics
/
gles-impl
/
egl-graphics-controller.cpp
diff --git
a/dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
b/dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
index
545c257
..
bd0d499
100644
(file)
--- a/
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
+++ b/
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
@@
-158,6
+158,8
@@
void EglGraphicsController::PresentRenderTarget(RenderTarget* renderTarget)
void EglGraphicsController::ResolvePresentRenderTarget(GLES::RenderTarget* renderTarget)
{
+ mCurrentContext->InvalidateDepthStencilBuffers();
+
auto* rt = static_cast<GLES::RenderTarget*>(renderTarget);
if(rt->GetCreateInfo().surface)
{