Hello,

I've investigated the GL_INVALID_ENUM crash with the OSS ATI DRI
driver, and found that it's a bug in camera.pyx. Otherwise great stuff
:P

--- soya/soya/soya3d/camera.pyx 2007-09-19 16:58:41.000000000 +0200
+++ ./camera.pyx        2007-09-19 17:01:52.000000000 +0200
@@ -288,7 +288,7 @@
                renderer.current_camera = None # Avoid a potential memory leak

        cdef void _render_scene(self):
-               glPushAttrib(GL_VIEWPORT)
+               glPushAttrib(GL_VIEWPORT_BIT)
                glMatrixMode(GL_PROJECTION)
                glPushMatrix()
                glMatrixMode(GL_MODELVIEW)

thanks:
Zoltan Dome

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to