[Gambas-user] Gambas-user Digest, Vol 92, Issue 14

terco IDE tercoide at ...67...
Wed Jan 8 16:50:50 CET 2014



> > 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
> 
> 
> 

you're rigth!
tnx



 		 	   		  


More information about the User mailing list