Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by maruu ( 14 years ago )
#include <GL/glew.h>
#include <iostream>
int main(){
// tells glew that we want the new, good-shit.
glewExperimental = GL_TRUE;
// initialize glew
glewInit();
// Just tries glew with the glGenBuffers function.
// If it succeeds it outputs 1 on the console
GLuint vertexBuffer;
glGenBuffers( 1, &vertexBuffer; );
std::cout << vertexBuffer;
return 0;
}
Revise this Paste