From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT, XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dcb7956c962dd3be,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 09:35:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!logbridge.uoregon.edu!swen.emba.uvm.edu!att541!att542!ip.att.net!newsfeed3.global.lmco.com!svlnews.lmms.lmco.com!not-for-mail From: "Alfredo Macias" Newsgroups: comp.lang.ada Subject: Ada and OPenGL Date: Tue, 14 Oct 2003 09:31:12 -0700 Organization: Lockheed Martin Corporation Message-ID: NNTP-Posting-Host: 134.116.5.79 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:837 Date: 2003-10-14T09:31:12-07:00 List-Id: Hi all, I'm running an ada-opengl program on Linux. I draw a line between two points directly as follows: Glcolor3f(1,0,0), GlBegin Gl.Glvertex2d (Gl.Gldouble(X, Y); Gl.Glvertex2d (Gl.Gldouble(X1, Y1); GlEnd The problem is that the line is drawn about 60% of it in red (the right color) and the rest of it in white or some times yellow or magenta. Now, I run the same code in AIX and get a nice red solid line. So the problem only ocurs on Linux. Does anybody have any idea why this is happening?, somebody suggested that there could be something wrong with my lights, but I'm using no lights at all.