[Gambas-user] OpenGL's getString(mode) not returning string
Benoît Minisini
gambas at ...1...
Tue Jan 7 21:48:09 CET 2014
Le 07/01/2014 20:03, terco IDE a écrit :
> Hi all:
>
> the openGL funcion
>
> getString( name ) as string
>
> gives error when using it like:
> Dim s As String
> s = gl.GetString(gl.VENDOR)
>
> Error: not returning value
>
> as if were defined like a sub
>
> I'm using Gambas 3.5.90
>
> Saludos
> Martin
>
Is it better with revision #6070? Normally now you will get an "Unknown
name" error instead. But normally with gl.VENDOR, gl.GetString() should
always return a valid string.
When do you call that method exactly? I'm not an OpenGL expert, but
maybe some things must be initialized before?
--
Benoît Minisini
More information about the User
mailing list