Re: [Gambas-user] OpenGl question

2011-06-12 Thread Tomek
The fix works only with Gambas 3, no effect in Gambas 2.23. It would be great to have ability to switch this function on and off, but as the impact on performance is at about 1.5 - 2% it can stay switched on constantly. > I found the solution to my problem with stencil clipping by adding a li

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Tomek
I found the solution to my problem with stencil clipping by adding a line to sdlwindow.cpp file and recompiling Gambas3. void SDLwindow::Show() { Uint32 myFlags = (SDL_ASYNCBLIT | SDL_DOUBLEBUF | SDL_OPENGL); SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); SDL_GL_SetAttribu

[Gambas-user] Can Gambas play mp3 Files?

2011-04-05 Thread Tomek
I've tried to use SDL music component to play mp3 file, but I can't. In Example Music player it loads and seems to start, but holds on 0:00:00 with no action or error. I tried Gambas 2 and Gambas 3 on Ubuntu Studio 10.10, Debian 6, Ubuntu Studio 11.04. No luck. Tomasz Kolodziejczyk ---

[Gambas-user] Gambas3 can't read single datatype from file.

2011-01-03 Thread Tomek
Hi Benoit. While trying to read binary file I found that reading the single datatype from file gives me constant value of 00E-312, no matter what is in the file, while it works fine in Gambas2. Am I doing something wrong? Read #model_file, s 's is declared with - Dim s As Single All oth