comp.lang.ada
 help / color / mirror / Atom feed
From: Roger <rogermc@grapevine.com.au>
Subject: Re: OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac
Date: Mon, 26 Sep 2016 20:03:41 -0700 (PDT)
Date: 2016-09-26T20:03:41-07:00	[thread overview]
Message-ID: <d604c59b-8b62-4fe4-aa6c-000948c0b692@googlegroups.com> (raw)
In-Reply-To: <631154f6-c378-432b-8b27-97544b70289e@googlegroups.com>

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!


  parent reply	other threads:[~2016-09-27  3:03 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 [this message]
2016-09-27 15:57 ` Roger
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox