A cookie to who can figure out why, with the same video card + drivers, same 
version of freeglut (?), same source code, Gentoo segfaults when you open a 
2nd window but Ubuntu doesn't.

However, and this is very strange, Ubuntu won't render additional windows 
until, get this, you change the position of the 1st window directly.

Not dragging it, not resizing it, not changing the position of the new window.
Once the 1st window has its position set (to anything) through .position the 
new window(s) begin rendering properly.

code to reproduce this (on Ubuntu only?) :
 import soy
 w1 = soy.Window('red');w1.background.red=255
 w2 = soy.Window('blue');w2.background.blue=255
(move them around, mess with anything you want)
 w1.position = (400,500)
(presto, the 2nd window begins rendering)

This behavior is repeatable with additional windows as well.

We need to get rid of freeglut anyways, there's countless features we can't 
use because of it (beyond all this weirdness).  The one thing we get out of it 
right now, even though it's a kludge to code for, is it instantly works on 
linux+osx+windows so we have a solid basis to test from for now.

_______________________________________________
PySoy-Dev mailing list
[EMAIL PROTECTED]
http://www.pysoy.org/mailman/listinfo/pysoy-dev

Reply via email to