fix for linux zbuffer issue

Miscellaneous Forums/Linux Discussion/fix for linux zbuffer issue

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

in blitzgl.linux.c find

int myspec[]={GLX_RGBA,GLX_DOUBLEBUFFER,None};

and change it to

int myspec[]={GLX_RGBA,GLX_DOUBLEBUFFER,GLX_DEPTH_SIZE,16,None};

I tried 32 bit but it didnt seem to like it, anyone happen
to know how to force X to use a 32 bit zbuffer by default?

Is 16bit enough???

linux compiled max apps are still running significantly
slower than C or win32 compiled running under wine, so
I assume theres still an error in the context creation
thats causing it to fallback to software rendering