the following diff contains the following real bugfixes
- Bugfix for video mode matching of gameglut, the
frequency was compared with itself, not with the values
- Free the XF86VidModeModeInfo memory (memory leak).
- Check a failure.
and the hacks:
- the gameglut implementation was not able to switch to
fullscreen in the highest defined resolution (in
XF86Config), the window + surrounding decorations must
be smaller than the highest resolution, else the switch
failed. Another problem was also, that with some window
window did not hide all other windows (e. g. panels,
...). My workaround sets override_redirect to true to
achieve fullscreen. Baisically it works, but have a
look on the XMoveWindow hack in freeglut_gamemode.c.
At least for KDE 3.1.4 there is a forced XMoveWindow
necessary, otherwise the GL rendering is displaced. Why
is this necessary (remove it and enjoy the effect...)???
Another thing occasionly (not really often) happening
is that the GL rendering is dog slow. I think I get
sometimes not a direct-rendering context, but what
could lead to that?
Status: The switching works reliable now, tested with
KDE, FVWM, MWM, WindowMaker.
Problems: Occasionly not direct rendering, why the
Log in to post a comment.