cool, you have an openGL-3.0 card?
MacBook Pro
NVIDIA GeForce 8600M GT OpenGL Engine
Vendor Name NVIDIA Corporation
Version 2.0 NVIDIA-1.5.36
GL Shading Language Version 1.20
this is the information from the OpenGL Driver Monitors
with the OpenGL Extensions GL_EXT_geometry_shader4
its openGL Version 2.1
for linux and microsoft you can get drivers for GLVersion 3.1 from nvidia
mac wait for apple update
apart from that id don't know whether i can follow your problems here.
what are you trying to achieve with commenting out the 2 conditions?
to not get an error "cannot load shader now! deferrubg till later..."?
no i got the error "cannot load shader now" from this part when it has VERSION_2_1
if(!GLEW_VERSION_2_0 && !GLEW_ARB_geometry_shader4) {
post("cannot load shader now!");
return;
}
VERSION_2_0 work
so i dont understand why V_2_1 failed - openGL 2.1 and latest GLEW version 1.5.1 are installed
at least the geometry_shader are functioning :)
Matthias