コード例 #1
0
ファイル: error.cpp プロジェクト: AdamSimpson/oglplus
//------------------------------------------------------------------------------
// eglGetError
//------------------------------------------------------------------------------
EGLAPI EGLint EGLAPIENTRY eglGetError(void)
{
	EGLint ec_ref = eglplus_egl_ErrorCodeRef();
	EGLint old_ec = ec_ref;
	ec_ref = EGL_SUCCESS;
	return old_ec;
}
コード例 #2
0
ファイル: error.cpp プロジェクト: matus-chochlik/oglplus
//------------------------------------------------------------------------------
void eglplus_egl_SetErrorCode(EGLint code) {
    eglplus_egl_ErrorCodeRef() = code;
}