Re: My code doesn't seem to display anything!
- From: Matt <themattfella@xxxxxxxxxxxxx>
- Date: Mon, 22 May 2006 16:54:32 GMT
Alex Buell wrote:
I've just tried to port a tutorial from Windows to Linux, as part of my
attempt to learn to code OpenGL applications under X11. The code that I
ported is supposed to display a white square and a white triangle, but
all I can see is the black background. Consequently I am somewhat
stumped as to what I am doing wrong. Here's the code (feel free to
flame) Thanks if you can advise me on what I'm screwing up.
freeglut will give a blank screen under Linux if you link to the wrong libraries. Make sure you are not linking with -lGL. freeglut needs (at most): -lm -lglut -lpthread.
.
- Follow-Ups:
- Re: My code doesn't seem to display anything!
- From: Alex Buell
- Re: My code doesn't seem to display anything!
- References:
- My code doesn't seem to display anything!
- From: Alex Buell
- My code doesn't seem to display anything!
- Prev by Date: Re: glTexSubImage2D somewhat slow on PCIe GeForce 6800 GT
- Next by Date: Re: Make this a new FAQ entry (was: Re: Multithreading bug in NVidia wglCopyContext implementation?)
- Previous by thread: Re: My code doesn't seem to display anything!
- Next by thread: Re: My code doesn't seem to display anything!
- Index(es):