MCPcopy Create free account
hub / github.com/TankOs/SFGUI / Load_ARB_geometry_shader4

Function Load_ARB_geometry_shader4

src/SFGUI/GLLoader.cpp:711–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709void (CODEGEN_FUNCPTR *sfg_ptrc_glProgramParameteriARB)(GLuint, GLenum, GLint) = NULL;
710
711static int Load_ARB_geometry_shader4(void)
712{
713 int numFailed = 0;
714 sfg_ptrc_glFramebufferTextureARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLint))IntGetProcAddress("glFramebufferTextureARB");
715 if(!sfg_ptrc_glFramebufferTextureARB) numFailed++;
716 sfg_ptrc_glFramebufferTextureFaceARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLint, GLenum))IntGetProcAddress("glFramebufferTextureFaceARB");
717 if(!sfg_ptrc_glFramebufferTextureFaceARB) numFailed++;
718 sfg_ptrc_glFramebufferTextureLayerARB = (void (CODEGEN_FUNCPTR *)(GLenum, GLenum, GLuint, GLint, GLint))IntGetProcAddress("glFramebufferTextureLayerARB");
719 if(!sfg_ptrc_glFramebufferTextureLayerARB) numFailed++;
720 sfg_ptrc_glProgramParameteriARB = (void (CODEGEN_FUNCPTR *)(GLuint, GLenum, GLint))IntGetProcAddress("glProgramParameteriARB");
721 if(!sfg_ptrc_glProgramParameteriARB) numFailed++;
722 return numFailed;
723}
724
725void (CODEGEN_FUNCPTR *sfg_ptrc_glAccum)(GLenum, GLfloat) = NULL;
726void (CODEGEN_FUNCPTR *sfg_ptrc_glAlphaFunc)(GLenum, GLfloat) = NULL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected