* commit '8713e3858c8868af8b89d1bad8b181f4570b3a1e': opengles emulator: fix eglGetError
This commit is contained in:
@@ -571,7 +571,9 @@ EGLBoolean eglTerminate(EGLDisplay dpy)
|
||||
|
||||
EGLint eglGetError()
|
||||
{
|
||||
return getEGLThreadInfo()->eglError;
|
||||
EGLint error = getEGLThreadInfo()->eglError;
|
||||
getEGLThreadInfo()->eglError = EGL_SUCCESS;
|
||||
return error;
|
||||
}
|
||||
|
||||
__eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname)
|
||||
|
||||
Reference in New Issue
Block a user