X-Git-Url: http://git.mutantstargoat.com?p=test_compression;a=blobdiff_plain;f=main.c;h=a0233077b478fca0c3d20a177d3e2b3573dc4262;hp=32da284900eb8a1ec2de0e16e8d137a848d59493;hb=673c03f31ddd2b6ed646ec6fc0c225833201bd65;hpb=4000d858aed75d56961a40be2dfd313b1a32a41b diff --git a/main.c b/main.c index 32da284..a023307 100644 --- a/main.c +++ b/main.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #undef USE_SRGB @@ -45,6 +46,8 @@ int main(int argc, char **argv) glutReshapeFunc(reshape); glutKeyboardFunc(keyb); + glewInit(); + if(init() == -1) { return 1; } @@ -353,7 +356,11 @@ void print_compressed_formats(void) glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, fmtlist); for(i=0; i