[Gambas-user] gb3: gb.opengl, how to bind a texture

2011-07-28 Thread Kevin Fishburne
I'm using gb.sdl and gb.opengl. I load an image into RAM like this: Public tTest As Image tTest = Image.Load("test.png") and want to upload it to video memory with this: Gl.BindTexture(Gl.GL_TEXTURE_2D, id) How do I obtain an ID (id) from the image loaded in RAM? From what I've read, you need

Re: [Gambas-user] another make error

2011-07-28 Thread BenoƮt Minisini
> I updated from SUSE 11.2 to 11.4, and had to start from zero again > (Gambas3, svn, qt4). > > 'configure' ends with the message: > || THESE COMPONENTS ARE DISABLED: > || - gb.db.postgresql > || - gb.gtk > > which is ok for me. > > 'make' terminates with the following errors in gb.db.odbc: > Ma

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Kevin Fishburne
On 07/28/2011 12:54 PM, Caveat wrote: > Oh no, the projects are all there, but they come down as zero-length > still. > > Damn! Sorry... > Heh heh, no problem. I guess when the forum database was transferred to the new domain it got f-ed up. Too bad for me, as I can't find these examples anywhe

[Gambas-user] another make error

2011-07-28 Thread Matti
I updated from SUSE 11.2 to 11.4, and had to start from zero again (Gambas3, svn, qt4). 'configure' ends with the message: || || THESE COMPONENTS ARE DISABLED: || - gb.db.postgresql || - gb.gtk || which is ok for me. 'make' terminates with the following errors in gb.db.odbc: Making all in gb.db.

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
Oh no, the projects are all there, but they come down as zero-length still. Damn! Sorry... On Thu, 2011-07-28 at 18:47 +0200, Caveat wrote: > Hi Kevin > Seem to be still some tutorials available here: > http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Fopengl-tutorials

Re: [Gambas-user] OpenGL question.

2011-07-28 Thread Caveat
Hi Kevin Seem to be still some tutorials available here: http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Fopengl-tutorials Is it perhaps barfing on the session or something? I just d/l'd a few of them, so if you still have trouble give me a shout and I'll stick them up