//------------------------------------------------------------------------------ // eglGetError //------------------------------------------------------------------------------ EGLAPI EGLint EGLAPIENTRY eglGetError(void) { EGLint ec_ref = eglplus_egl_ErrorCodeRef(); EGLint old_ec = ec_ref; ec_ref = EGL_SUCCESS; return old_ec; }
//------------------------------------------------------------------------------ void eglplus_egl_SetErrorCode(EGLint code) { eglplus_egl_ErrorCodeRef() = code; }