Have you tried

(gl getString: GL_VERSION) readString

or if it does not return an NBExternalAddress

(NBExternalAddress value: (gl getString: GL_VERSION)) readstring




On Sat, Jun 22, 2013 at 4:46 PM, kilon <thekilon@yahoo.co.uk> wrote:
I am trying to find out what version of Opengl NBOpenGL is using so I do:

gl getString:GL_VERSION.

it works and returns me a pointer. I looked at definition of methods and it
is defined to return a pointer.

Question is how I get the string that the pointer points too ?



--
View this message in context: http://forum.world.st/Understanding-NBOpenGL-tp4686514p4694552.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.