From 5d355b71c5d340409ce0f124d71152d1ce5869db Mon Sep 17 00:00:00 2001 From: Stas Gurtovoy Date: Wed, 29 Jun 2011 16:41:53 +0300 Subject: [PATCH] opengles emulator: Init eglError to EGL_SUCCESS --- tools/emulator/opengl/system/OpenglSystemCommon/ThreadInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emulator/opengl/system/OpenglSystemCommon/ThreadInfo.h b/tools/emulator/opengl/system/OpenglSystemCommon/ThreadInfo.h index 82936cbe2..98101f0e9 100644 --- a/tools/emulator/opengl/system/OpenglSystemCommon/ThreadInfo.h +++ b/tools/emulator/opengl/system/OpenglSystemCommon/ThreadInfo.h @@ -22,7 +22,7 @@ struct EGLContext_t; struct EGLThreadInfo { - EGLThreadInfo() : currentContext(NULL), hostConn(NULL), eglError(0) {} + EGLThreadInfo() : currentContext(NULL), hostConn(NULL), eglError(EGL_SUCCESS) {} EGLContext_t *currentContext; HostConnection *hostConn;