PDA

View Full Version : glVeiwport(0,0,h,w);



12-22-2000, 11:45 PM
Im having a problem with vc++ 6.0, i keep getting the error:
error C2065: 'glVeiwport' : undeclared identifier
and this is what the line says..
glVeiwport(0, 0, w, h);
so... please help me!!!
thanks

12-23-2000, 12:07 AM
hey ppls sorry, stupid mistake, glVeiwport(0,0,h,w); was supposed to be glViewport(0,0,h,w);
sorry

Nate
12-23-2000, 10:27 AM
Make sure that you #include <GL/gl.h> and link to opengl32.lib.

Nate Miller