On Thu, 2006-03-02 at 17:03 +0100, Hans de Goede wrote:
Agreed, opengl indeed is an issue here, does allegrogl allow calling
set_gfx_mode after creating the opengl context, in that case my fix is
_bad_.
No, currently, the AllegroGL gfx driver duplicates most of the X11 code,
specifically window creation - which is really bad. So in theory, all
fixes to our X11 code should be ported to AllegroGL, but they are
somewhat out of sync, since we have no write access to the AllegroGL
code - that's all another discussion though, and will be fixed with 4.3.
What I was thinking was, in the future 4.3, where we probably want a
flag AL_OPENGL to create an OpenGL context for the user - now without
knowing any details, that would seem to require extra work if the window
is completely destroyed and re-created on a fullscreen change. But if
nothing else works.. I also seem unable here to get it to work with any
posisble sequence of UnmapWindow/MapWindow/XSync calls scattered
throught the code :P