MCPcopy Create free account
hub / github.com/SFML/SFML / gladLoadGLES1UserPtr

Function gladLoadGLES1UserPtr

examples/include/gl.h:7801–7824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7799}
7800
7801int gladLoadGLES1UserPtr( GLADuserptrloadfunc load, void *userptr) {
7802 int version;
7803
7804 glad_glGetString = (PFNGLGETSTRINGPROC) load(userptr, "glGetString");
7805 if(glad_glGetString == NULL) return 0;
7806 if(glad_glGetString(GL_VERSION) == NULL) return 0;
7807 version = glad_gl_find_core_gles1();
7808
7809 glad_gl_load_GL_VERSION_ES_CM_1_0(load, userptr);
7810
7811 if (!glad_gl_find_extensions_gles1(version)) return 0;
7812 glad_gl_load_GL_EXT_blend_minmax(load, userptr);
7813 glad_gl_load_GL_KHR_debug(load, userptr);
7814 glad_gl_load_GL_OES_blend_equation_separate(load, userptr);
7815 glad_gl_load_GL_OES_blend_func_separate(load, userptr);
7816 glad_gl_load_GL_OES_blend_subtract(load, userptr);
7817 glad_gl_load_GL_OES_framebuffer_object(load, userptr);
7818 glad_gl_load_GL_OES_single_precision(load, userptr);
7819
7820
7821 glad_gl_resolve_aliases();
7822
7823 return version;
7824}
7825
7826
7827int gladLoadGLES1( GLADloadfunc load) {

Callers 1

gladLoadGLES1Function · 0.85

Tested by

no test coverage detected