[Fluxus] Flags of glutInitDisplayMode
Dave Griffiths
dave at pawfal.org
Tue Jan 29 15:48:45 PST 2008
On Sun, 2008-01-27 at 19:42 +0100, Heinz Markgraf wrote:
> Hello,
>
> I just installed fluxus from source
> (http://www.pawfal.org/Software/fluxus/files/fluxus-0.14rc1.tar.gz)
>
> I get the following error when starting it:
>
> .../fluxus-0.14rc1> fluxus
> Welcome to fluxus.GLUT_ACCUM
> Type (help) for info.
> freeglut (fluxus): ERROR: Internal error <Visual with necessary
> capabilities not found> in function fgOpenWindow
> X Error of failed request: BadWindow (invalid Window parameter)
> Major opcode of failed request: 4 (X_DestroyWindow)
> Resource id in failed request: 0x0
> Serial number of failed request: 15
> Current serial number in output stream: 15
> fluxus: xcb_xlib.c:42: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
> Aborted
>
>
> The reason seems to be that the flag GLUT_ACCUM is set at the call to
> glutInitDisplayMode, even if ACCUM_BUFFER is not defined (src/main.cpp):
>
> #ifdef ACCUM_BUFFER
> unsigned int flags = GLUT_DOUBLE|GLUT_RGBA|GLUT_DEPTH|GLUT_STENCIL;
> #else
> unsigned int flags =
> GLUT_DOUBLE|GLUT_RGBA|GLUT_DEPTH|GLUT_STENCIL|GLUT_ACCUM;
> #endif
>
>
> Maybe someone can fix this in the next release?
This seems to be the wrong way round - or is this what you mean? :) I've
committed a fix for this - sorry.
fwiw I can't get the accumulation buffer to work on my setup either, so
although there is support for it in fluxus - I don't think you're
missing much.
>
>
> Else I'm happy to start using fluxus, it seems to be very nice. :)
Thanks!
dave
More information about the Fluxus
mailing list