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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.131.35 with SMTP id f35mr6268217iod.16.1474945421710; Mon, 26 Sep 2016 20:03:41 -0700 (PDT) X-Received: by 10.157.46.197 with SMTP id w63mr955592ota.12.1474945421683; Mon, 26 Sep 2016 20:03:41 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!o21no286471itb.0!news-out.google.com!b4ni13582iti.0!nntp.google.com!x192no5087015itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 26 Sep 2016 20:03:41 -0700 (PDT) In-Reply-To: <631154f6-c378-432b-8b27-97544b70289e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=124.171.67.91; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 124.171.67.91 References: <631154f6-c378-432b-8b27-97544b70289e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac From: Roger Injection-Date: Tue, 27 Sep 2016 03:03:41 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31908 Date: 2016-09-26T20:03:41-07:00 List-Id: On Monday, September 26, 2016 at 8:15:04 PM UTC+10, gautier...@hotmail.com wrote: > What happens if you run get_gl_info.adb (*) ? > Perhaps there is some initialization needed (in get_gl_info.adb, done through > GLUT.Init and GLUT.InitDisplayMode). > HTH > Gautier > ___ > (*) https://sourceforge.net/p/globe3d/code/HEAD/tree/tools/get_gl_info.adb I tried: GLUT.Init; GLUT.InitDisplayMode(GLUT.SINGLE); strVersionptr := gl.GetString(GL.VENDOR); but the same problem occurred. I'm wondering if it wants a window set up? I don't think it should, as output to console is needed? I not really sure what the InitDisplayMode should be set to; but I think GLUT.SINGLE should be OK!