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