/* Affichage des informations relatives */
/* a la librairie OpenGL utilisee */
/* */
/* Auteur: Nicolas JANEY */
/* nicolas.janey@univ-fcomte.fr */
/* Septembre 2011 */
#include <stdio.h>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
int main(int argc,char **argv) {
glutInit(&argc, argv);
glutInitWindowPosition( 0, 0);
glutInitWindowSize(400, 400);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
glutCreateWindow(argv[0]);
printf("GL_VENDOR = %s\n",(const char *) glGetString(GL_VENDOR));
printf("GL_VERSION = %s\n",(const char *) glGetString(GL_VERSION));
printf("GL_RENDERER = %s\n",(const char *) glGetString(GL_RENDERER));
printf("GL_EXTENSIONS = %s\n",(const char *) glGetString(GL_EXTENSIONS));
return(0);
}