I want to know the opengl extensions, using glGetStringi, but the code doesn't compile. What the include for glGetStringi?
I'm using Code::Blocks with mingw on windows 7.
My code:
#include <iostream>
#include "GL/gl.h"
#include <windows.h>
using namespace std;
int main()
{
int max = 0;
glGetIntegerv(GL_EXTENSIONS, &max);
for(int i = 0; i < max; i++)
cout << glGetStringi(GL_EXTENSIONS, i) << endl;
return 0;
}