Created
December 10, 2011 17:34
-
-
Save jes/1455696 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* glCreateProgram test case */ | |
#include "GLee.h" | |
#include <stdio.h> | |
#include <GL/glut.h> | |
int main(int argc, char **argv) { | |
glutInit(&argc, argv); | |
glutInitDisplayString("rgb double depth>=32"); | |
glutInitWindowSize(400, 300); | |
glutCreateWindow("bazinga!"); | |
GLuint x = glCreateProgram(); | |
if(glIsProgram(x) == GL_TRUE) | |
printf("All is well.\n"); | |
else | |
printf("Shit the bed!\n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment