glViewPort

Nalin Dahyabhai nalin at redhat.com
Fri May 20 22:56:49 UTC 2005


On Fri, May 20, 2005 at 11:33:47PM +0100, Paul wrote:
> glViewPort seems to be missing from libGL. Attached is a small piece of
> code to show the problem.
> 
> Compile using
> 
> gcc -o cube cube.c -lm -lX11 -lglut -lGL -lGLU -L/usr/X11R6/lib
> 
> You should find that glViewPort cannot be found during the link stage.

Try glViewport(), note the lower-case 'p'.

HTH,

Nalin




More information about the test mailing list