-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicolai Hähnle wrote: > Hi, > > referring to the recent commit 12e84a8b84c331d0afef63e6119fe356c84bf383, this > overrides the OpenGL state machine states. Are you sure that this is correct? > It seems like quite an evil thing to do on the face of it. > > Essentially this means that whenever a program with FogOption != NONE is > used, > the application will have to call glDisable(GL_FOG) afterwards. That just > seems very wrong to me. > > cu, > Nicolai
Hmm. Although 3 in the morning is probably not the best place for this decision, I've gone ahead and fixed the logic so it doesn't squish the GL context. The alternative is _mesa_append_fog_code, which requires fog coords, which we don't have yet. (I'm so lazy...) You are right, though; this is just a bit on the ugly side. ~ C. - -- ~ Corbin Simpson <[EMAIL PROTECTED]> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiqov0ACgkQeCCY8PC5utAYAACggn21WgPM7c7IXRhOkF/8JYnC HRgAoJaDhX+ZRBe+G0b0QVbJ8NjOGCqI =lgUc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
