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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,1e450aa85a8250f1
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2001-10-18 07:05:21 PST
Path:
archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!npeer.kpnqwest.net!news.edf.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: glVertexPointer and GNAT for Win32
Date: 18 Oct 2001 15:53:29 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Sender: obry@PASCAL
Message-ID:
References: <3BCDFFE2.5FBB0191@ida.his.se>
<3BCEBAE5.FF1B5931@ida.his.se>
NNTP-Posting-Host: 130.98.60.62
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: clnews.edf.fr 1003413316 18632 130.98.60.62 (18 Oct 2001 13:55:16
GMT)
X-Complaints-To: newsadm@news.edf.fr
NNTP-Posting-Date: 18 Oct 2001 13:55:16 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106
Xref: archiver1.google.com comp.lang.ada:14887
Date: 2001-10-18T13:55:16+00:00
List-Id:
Michael Andersson writes:
> Hi!
> I use GTKAda binding to create the GUI but the GL_H.ads file referese to
> the win32-gl.ads file that comes with GNAT.
No surprise here. Win32.GL is not the right thing to use since it is based on
GLAUX which is a Microsoft copyrighted library. You should use GLUT instead of
GLAUX. Have a look at my homepage for some GLUT/OpenGL demos.
Note that GLUT is available on Windows and UNIX where GLAUX is Windows only.
Now I have never tried GtkAda + GLUT, you could maybe ask in the GtkAda
mailing list.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"