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

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Benoît Minisini
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 );

Re: [Gambas-user] OpenGL quaestion.

2011-06-12 Thread Laurent Carlier
Le Sunday 12 June 2011 21:50:10, Tomek a écrit : 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(

Re: [Gambas-user] Problems with gbs

2011-06-12 Thread Jussi Lahtinen
Works perfectly now! Jussi 2011/6/11 Benoît Minisini gam...@users.sourceforge.net This problem is now solved. I'm going to do distribution update, and because of that I temporarily change my fstab: /tmpext4relatime,nosuid,noexec0 2 -- /tmp

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