comp.lang.ada
 help / color / mirror / Atom feed
* OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac
@ 2016-09-26  4:10 Roger
  2016-09-26  7:18 ` Simon Wright
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Roger @ 2016-09-26  4:10 UTC (permalink / raw)


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.

Roger

 


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-27 15:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox