From: Roger <rogermc@grapevine.com.au>
Subject: Re: OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac
Date: Tue, 27 Sep 2016 08:57:35 -0700 (PDT)
Date: 2016-09-27T08:57:35-07:00 [thread overview]
Message-ID: <b25d6ed7-6ef6-46cf-9f1f-9cb65e1306dc@googlegroups.com> (raw)
In-Reply-To: <ed7ccdaf-7165-48d1-a27a-c05ff2eca959@googlegroups.com>
On Monday, September 26, 2016 at 2:10:42 PM UTC+10, Roger wrote:
> Mac OSX 10.11.6
> XCode 8.0
> GNAT GPL 2016 (20160515-49)
> globe_3d_release_2016-07-05
>
> I have been writing quite a lot of OPenGL in Ada using GLOBE_3D.
>
> However, I have just tried to "Checking for OpenGL functionality" as described in Apple's OpenGL Programming Guide for Mac.
> However, gl.GetString(GL.VENDOR) and other calls to gl.GetString result in:
> raised CONSTRAINT_ERROR : erroneous memory access
>
> even if gl.GetString(GL.VENDOR) is in the only instruction in the program.
>
> Any ideas on what's causing this will be appreciated.
>
> Roge
Now it works!
It just needed a window to be declared:
GLUT.CreateWindow( "Test" )
prev parent reply other threads:[~2016-09-27 15:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 4:10 OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac Roger
2016-09-26 7:18 ` Simon Wright
2016-09-26 9:31 ` G.B.
2016-09-26 10:15 ` gautier_niouzes
2016-09-26 10:21 ` Aurele
2016-09-27 2:42 ` Roger
2016-09-27 3:03 ` Roger
2016-09-27 15:57 ` Roger [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox