Skip to content

Instantly share code, notes, and snippets.

@metajack
Created April 5, 2013 15:54
Show Gist options
  • Save metajack/5320416 to your computer and use it in GitHub Desktop.
Save metajack/5320416 to your computer and use it in GitHub Desktop.
#include <opengl/gl.h>
#include <opengl/glext.h>
typedef void (*shaderfunc)(GLuint shader, GLsizei count, const char** str, const GLint* length);
int main(int argc, char **argv) {
shaderfunc f = glShaderSource;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment