Skip to content

Instantly share code, notes, and snippets.

@jdm
Forked from metajack/gist:5320416
Created April 5, 2013 15:58
Show Gist options
  • Save jdm/5320456 to your computer and use it in GitHub Desktop.
Save jdm/5320456 to your computer and use it in GitHub Desktop.
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/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