diff --git a/tools/emulator/opengl/host/libs/Translator/EGL/ThreadInfo.cpp b/tools/emulator/opengl/host/libs/Translator/EGL/ThreadInfo.cpp index 6814fe9d2..8acf8a13c 100644 --- a/tools/emulator/opengl/host/libs/Translator/EGL/ThreadInfo.cpp +++ b/tools/emulator/opengl/host/libs/Translator/EGL/ThreadInfo.cpp @@ -17,7 +17,12 @@ #include -void ThreadInfo::updateInfo(void* eglCtx,void* dpy,void* glesCtx,ShareGroupPtr share,ObjectNameManager* manager) { +void ThreadInfo::updateInfo(EglContext* eglCtx, + EglDisplay* dpy, + GLEScontext* glesCtx, + ShareGroupPtr share, + ObjectNameManager* manager) { + eglContext = eglCtx; eglDisplay = dpy; glesContext = glesCtx; diff --git a/tools/emulator/opengl/host/libs/Translator/include/GLcommon/ThreadInfo.h b/tools/emulator/opengl/host/libs/Translator/include/GLcommon/ThreadInfo.h index ba451e684..69b8ac44b 100644 --- a/tools/emulator/opengl/host/libs/Translator/include/GLcommon/ThreadInfo.h +++ b/tools/emulator/opengl/host/libs/Translator/include/GLcommon/ThreadInfo.h @@ -18,12 +18,22 @@ #include "objectNameManager.h" +class EglContext; +class EglDisplay; +class GLEScontext; + struct ThreadInfo { ThreadInfo():eglContext(NULL),glesContext(NULL),objManager(NULL){} - void updateInfo(void* eglctx,void* dpy,void* glesCtx,ShareGroupPtr share,ObjectNameManager* manager); - void* eglContext; - void* eglDisplay; - void* glesContext; + + void updateInfo(EglContext* eglctx, + EglDisplay* dpy, + GLEScontext* glesCtx, + ShareGroupPtr share, + ObjectNameManager* manager); + + EglContext* eglContext; + EglDisplay* eglDisplay; + GLEScontext* glesContext; ShareGroupPtr shareGroup; ObjectNameManager* objManager; };