updated readme
[andemo] / src / opengl.c
index 78b5591..13b2e05 100644 (file)
@@ -1,3 +1,4 @@
+#include <stdio.h>
 #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;
 }