Re: [GtkGLExt] GTK3: additional considerations



On Wed, 2012-01-04 at 20:02 +0100, Thomas Zimmermann wrote:
> This behavior is actually correct. The code you mention is written for
> GLX 1.2. Passing the X window to glXMakeCurrent is allowed here.

Ah, OK, that makes sense.  Thanks for clarifying.

> Hmm, don't know... I guess it is up to the application programmer to
> correctly specify RGBA or indexed mode when creating the GdkGLConfig for
> the GL window.

Oh, I see.  I'd overlooked the attribList argument given to
glXChooseVisual(), which controls whether you get an RGBA or an indexed
visual.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]