projects
/
andemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
13b2e059c56e5d7049ad17d7a4ce43e38091031b
[andemo]
/
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
}