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
Revert "[Tizen] Fix video underlay issue"
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
graphics
/
gles
/
egl-implementation.cpp
diff --git
a/dali/internal/graphics/gles/egl-implementation.cpp
b/dali/internal/graphics/gles/egl-implementation.cpp
index
2172e37
..
76fa78a
100755
(executable)
--- a/
dali/internal/graphics/gles/egl-implementation.cpp
+++ b/
dali/internal/graphics/gles/egl-implementation.cpp
@@
-519,10
+519,10
@@
bool EglImplementation::ReplaceSurfaceWindow( EGLNativeWindowType window, EGLSur
DestroySurface( eglSurface );
// create the EGL surface
DestroySurface( eglSurface );
// create the EGL surface
- CreateSurfaceWindow( window, mColorDepth );
+
EGLSurface newEglSurface =
CreateSurfaceWindow( window, mColorDepth );
// set the context to be current with the new surface
// set the context to be current with the new surface
- MakeContextCurrent(
e
glSurface, eglContext );
+ MakeContextCurrent(
newE
glSurface, eglContext );
return contextLost;
}
return contextLost;
}