Hi!
for (i=numvis-1, best = -1; i>=0; i--)
{
if (vinfo[i].depth == 24) best = i;
else if (vinfo[i].depth>24 && best<0) best = i;
}
Try to replace 24 with 32. Since an OpenGL Pixelformat without alpha
channel basically makes no sense.
TOM
Fred Kiefer schrieb:
I hacked bestContext() in back/Source/x11/context.c to return False and
with that both examples work again. This looks like the problem has to
do with the visual, drawable or depth selection. On my machine
glXChooseFBConfig() finds 18 usable configurations, but the code sticks
to the first one.
Fred
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep