From bdf4c1f4367d816643d56408565b9241e71e4666 Mon Sep 17 00:00:00 2001 From: Guy Zadickario Date: Thu, 18 Aug 2011 12:30:39 +0300 Subject: [PATCH] opengles emulator: fixed EGL sharing context Wrong share group was set up when two user contexts are sharing ! That means that shared context was not really worked before, now it does. Change-Id: Ia4edbba0441e309902b2c48c44865342410bae3d --- tools/emulator/opengl/host/libs/Translator/EGL/EglContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emulator/opengl/host/libs/Translator/EGL/EglContext.cpp b/tools/emulator/opengl/host/libs/Translator/EGL/EglContext.cpp index c2ea4a781..bc33f1f88 100644 --- a/tools/emulator/opengl/host/libs/Translator/EGL/EglContext.cpp +++ b/tools/emulator/opengl/host/libs/Translator/EGL/EglContext.cpp @@ -38,7 +38,7 @@ m_version(ver), m_mngr(mngr) { m_shareGroup = shared_context.Ptr()? - mngr->attachShareGroup(context,shared_context.Ptr()->getShareGroup().Ptr()): + mngr->attachShareGroup(context,shared_context->nativeType()): mngr->createShareGroup(context); m_hndl = ++s_nextContextHndl; }