X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fgraphics%2Fgles-impl%2Fgles2-graphics-memory.cpp;h=a514a342af133a9c6b441581d96d3e8722e10e68;hb=ec9c519ce06415088a7fc4d47f3e24af4779b007;hp=9330c8c410e7675c68c685d27cdad2351abcf426;hpb=8f88d8d6eb5a578dbd9e7475f571e878147d3467;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/graphics/gles-impl/gles2-graphics-memory.cpp b/dali/internal/graphics/gles-impl/gles2-graphics-memory.cpp index 9330c8c..a514a34 100644 --- a/dali/internal/graphics/gles-impl/gles2-graphics-memory.cpp +++ b/dali/internal/graphics/gles-impl/gles2-graphics-memory.cpp @@ -82,9 +82,6 @@ void Memory2::Unlock(bool flush) auto buffer = static_cast(mMapBufferInfo.buffer); if(!buffer->IsCPUAllocated()) { - // switch to the shared context if necessary - auto graphics = mController.GetGraphicsInterface(); - graphics->ActivateResourceContext(); buffer->Bind(BufferUsage::VERTEX_BUFFER); gl->BufferSubData(GL_ARRAY_BUFFER, mMapBufferInfo.offset, mMapBufferInfo.size, mMappedPointer);