File: detect.c

package info (click to toggle)
sdlperl 1.20.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,804 kB
  • ctags: 2,169
  • sloc: perl: 7,397; ansic: 232; makefile: 72; sh: 1
file content (10 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glu.h>

int
main ( int argc, char **argv )
{
	fprintf(stdout,"%g",atof((const char*)gluGetString(GLU_VERSION)));
}