[GEM-dev] Gem window won't 'destroy'
Jamie Bullock
jamie at postlude.co.uk
Mon Feb 6 18:52:23 CET 2006
Hi Cesare,
On Mon, 06 Feb 2006 18:11:46 +0100
Cesare Marilungo <cesare at poeticstudios.com>
<snip>
> I've recently submitted a fix for this. It's in the cvs.
>
> If you're compiling 0.90, edit the file '/src/Base/GemWinCreateXWin.cpp'.
>
> void destroyGemWindow(WindowInfo &info)
> {
> if (info.dpy)
> {
> int error=0;
> // fix
> glXMakeCurrent(info.dpy, None, NULL); //add this line here
> //
> if (info.win)
>
> This is just a dirty hack. I'm trying a cleaner fix (the problem seems
> to be that in 'GemBase.cpp' this func is called after 'destroyGemWindow'
> but it should be called before).
>
> I'm sorry I'm not an experienced X developer, but the line above solved
> this problem on my system.
>
Thanks, but I'm already using the version from CVS that includes your patch. Sadly it doesn't work on my system. FWIW, I have submitted a bug report.
Regards,
Jamie
More information about the GEM-dev
mailing list