Re: glViewPort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]