Re: [Gambas-user] glu.buildmipmaps error

2012-11-18 Thread piet
I found my mistake! you have to call the window.show methode befor saveing textures on your graphic card. (I guess so) At least now it works!! Thanks, Piet Am 18.11.2012 15:01, schrieb Laurent Carlier: > Le dimanche 18 novembre 2012 14:40:44 p...@laur-net.dea écrit : > >> once aga

Re: [Gambas-user] glu.buildmipmaps error

2012-11-18 Thread Laurent Carlier
Le dimanche 18 novembre 2012 14:40:44 p...@laur-net.de a écrit : > once again with fancy code :D > > Hi, > > I'm using opengl for 2D > Projektion with textures. > > running following code rises me an error: > "Speicherzugriffsfehler(11)" (which means sth. like memory-access-error) > Can you provid

[Gambas-user] glu.buildmipmaps error

2012-11-18 Thread piet
once again with fancy code :D Hi, I'm using opengl for 2D Projektion with textures. running following code rises me an error: "Speicherzugriffsfehler(11)" (which means sth. like memory-access-error) -- Dim xx1, xx2 as Image Dim textures as new Integer[2] gl.Mat

[Gambas-user] glu.buildmipmaps error

2012-11-18 Thread piet
Hi, I'm using opengl for 2D Projektion with textures. running following code rises me an error: "Speicherzugriffsfehler(11)" (which means sth. like memory-access-error) > Dim xx1, xx2 as Image > > Dim textures as new Integer[2] > > gl.MatrixMode(gl.PROJECTION) > gl.LoadIdentity > gl.Or