projects
/
andemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updated readme
[andemo]
/
src
/
opengl.c
1
#include <stdio.h>
2
#include "opengl.h"
3
4
int init_opengl(void)
5
{
6
#ifdef __glew_h__
7
glewInit();
8
#endif
9
10
printf("GL vendor: %s\n", glGetString(GL_VENDOR));
11
printf("GL renderer: %s\n", glGetString(GL_RENDERER));
12
printf("GL version: %s\n", glGetString(GL_VERSION));
13
14
return 0;
15
}