X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fopengl.c;fp=src%2Fopengl.c;h=13b2e059c56e5d7049ad17d7a4ce43e38091031b;hb=6bdfcf4ad3daddcd9d689deb15798403c89ce42b;hp=78b559177592563ef8874dac808ed8c40a011eea;hpb=820efe0e275409090089fec7c2a7d2997f04c6d7;p=andemo diff --git a/src/opengl.c b/src/opengl.c index 78b5591..13b2e05 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -1,3 +1,4 @@ +#include #include "opengl.h" int init_opengl(void) @@ -5,5 +6,10 @@ int init_opengl(void) #ifdef __glew_h__ glewInit(); #endif + + printf("GL vendor: %s\n", glGetString(GL_VENDOR)); + printf("GL renderer: %s\n", glGetString(GL_RENDERER)); + printf("GL version: %s\n", glGetString(GL_VERSION)); + return 0; }