Hello,
i am running a Glew “Hello World” type aplication that only does this
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#include <GL/glut.h>
void main(int argc, char **argv) {
glutInit(&argc, argv);
glewInit();
if (glewIsSupported("GL_VERSION_2_0")){
printf("Ready for OpenGL 2.0
");
system("PAUSE");
}
else {
printf("OpenGL 2.0 not supported
");
system("PAUSE");
exit(1);
}
//setShaders();
glutMainLoop();
}
it returns “OpenGL 2.0 not supported” and return that message to wahtever version of Opengl y ask for, also throws not supported for all Extensions.
BUT, if i run the glewinfo.exe i get that everything is OK from opengl 1.1 to 3.0 and a lot of extension are also OK. that means that it is supported i guess, the opengl version is what matters in my case.
so actually my card+driver does support opengl even up to 3.0 (i got Nvidia 9800gtx+ 512mb )
im runnning it on Windows 7 Beta with latest Nvidia driver released for windows 7
any help why on my app it shjows not supported?
how could the glewinfo.exe detect the supported types, is the glewIsSupported(“GL_VERSION_2_0”) the only way to check support?
PD: also tried with glewExperimental = GL_TRUE before glewInit() and same problem…