Demo entry 6751161

c

   

Submitted by anonymous on Jun 22, 2018 at 02:49
Language: C. Code size: 562 Bytes.

MALI_IMPL GLenum GL_APIENTRY glGetError(void)
{
	GLenum ret;
	gles_context *ctx = gles_context_get();
	CDBG_TRACE_FUNC_ENTER(API_STATE_OTHER);
	if (CSTD_UNLIKELY(NULL == ctx))
	{
		CDBG_TRACE_FUNC_EXIT();
		return 0;
	}
	gles_context_set_current_entrypoint(ctx, GLES_ENTRYPOINT_GL_GET_ERROR);
#if MALI_GLES_QA
	if ((ctx->config.verbose & GLES_CONFIG_VERBOSE_DISPATCH) != 0)
	{
		gles_config_println_verbose(ctx, GLES_CONFIG_VERBOSE_DISPATCH, "glGetError()");
	}
#endif
	ret = gles_state_get_error(ctx);
	CDBG_TRACE_FUNC_EXIT();
	return ret;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).