Re: [AD] SF.net SVN: alleg:[11750] allegro/branches/4.9/src/x

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Thomas Fjellstrom wrote:
On Sat February 28 2009, you wrote:
Revision: 11750
          http://alleg.svn.sourceforge.net/alleg/?rev=11750&view=rev
Author:   mmimica
Date:     2009-02-28 21:47:45 +0000 (Sat, 28 Feb 2009)

Log Message:
-----------
* The GLX context creation wasn't fully using the FBConfig path.
* Added OpenGL 3 support to GLX. Untested.

/me thinks somehting is wrong:

moose@xxxxxxxxxx$ ./ex_prim
Assert failed at line 215 of /home/moose/.projects/allegro.git/src/display_new.c
Aborted

allegro.log seems to say its picking "Visual 21" which has this to say for itself: display_settings INFO: Single Buffer requirement not met.

I think you interpret the log wrong.
This is whati get:
xglx-config INFO: _al_xglx_config_select_visual(): Chose visual no. 0

xglx-config INFO: Single-buffer: no
xglx-config INFO: Swap method: undefined
xglx-config INFO: Color format: r8 g8 b8 a0, 24 bit
xglx-config INFO: Depth buffer: 24 bits
xglx-config INFO: Sample buffers: no
xglx-config INFO: Samples: 0
xdisplay: Selected visual 21.
xdisplay: X11 window created.
xdisplay: X11 window mapped.
xglx_config: Got GLX context.

It selected the first visual it came across (index 0), that visual's internal ID is 21.

I've added a possibility to force the 'old' selection mode via allegro.cfg, see if helps.



--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/