comp.lang.ada
 help / color / mirror / Atom feed
* Solid Lines between 2 points changing changing colors
@ 2003-10-01 18:51 Alfredo Macias
  0 siblings, 0 replies; only message in thread
From: Alfredo Macias @ 2003-10-01 18:51 UTC (permalink / raw)


Hi.
I have a problem and would appreciate any hints that would help me solve it.

I'm running my ada program on Linux 9. something.

This is the code I'm running:

Gl.Glbegin(Mode);

      for I in 1..2 loop
            Gl.Glvertex2d
                              (Gl.Gldouble(Data.Item(I).Coord1),
                               Gl.Gldouble(Data.Item(I).Coord2));
       end loop;

 Gl.Glend;

I only have two 2d points, so this code draws a thick line on the screen
between point1 and point2.
However, about 60 % of the line is of the right color, the rest of the line
is some times white and some times yellow.
This never occured when I was running the exact same code on AIX, only on
LINUX.

Is there a default setting that I could have set on my OpenGL installation
on LInux that I don't have on AIX?
As far as I can see, the two installations have the same default settings.
Any Hints?

Thank you very much






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-01 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 18:51 Solid Lines between 2 points changing changing colors Alfredo Macias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox