opengles emulator: Init eglError to EGL_SUCCESS

This commit is contained in:
Stas Gurtovoy
2011-06-29 16:41:53 +03:00
committed by Guy Zadickario
parent 8fa554f35b
commit 5d355b71c5

View File

@@ -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;