CVSROOT: /sources/gnash Module name: gnash Changes by: Bastiaan Jacques <bjacques> 07/09/11 08:23:31
Modified files: . : ChangeLog backend : render_handler_ogl.cpp Log message: Disable polygon smoothing for now as it has some unwanted side effects. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4267&r2=1.4268 http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_ogl.cpp?cvsroot=gnash&r1=1.78&r2=1.79 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4267 retrieving revision 1.4268 diff -u -b -r1.4267 -r1.4268 --- ChangeLog 11 Sep 2007 08:07:01 -0000 1.4267 +++ ChangeLog 11 Sep 2007 08:23:30 -0000 1.4268 @@ -1,5 +1,10 @@ 2007-09-11 Bastiaan Jacques <[EMAIL PROTECTED]> + * backend/render_handler_ogl.cpp: Disable polygon smoothing for now as + it has some unwanted side effects. + +2007-09-11 Bastiaan Jacques <[EMAIL PROTECTED]> + * backend/render_handler_ogl.cpp: GL_MODELVIEW is the default matrix mode, so don't bother setting it at every opportunity. Rather, reset it to the standard value after it is changed to something else. Round Index: backend/render_handler_ogl.cpp =================================================================== RCS file: /sources/gnash/gnash/backend/render_handler_ogl.cpp,v retrieving revision 1.78 retrieving revision 1.79 diff -u -b -r1.78 -r1.79 --- backend/render_handler_ogl.cpp 11 Sep 2007 08:07:02 -0000 1.78 +++ backend/render_handler_ogl.cpp 11 Sep 2007 08:23:31 -0000 1.79 @@ -5,7 +5,7 @@ // A render_handler that uses SDL & OpenGL -/* $Id: render_handler_ogl.cpp,v 1.78 2007/09/11 08:07:02 bjacques Exp $ */ +/* $Id: render_handler_ogl.cpp,v 1.79 2007/09/11 08:23:31 bjacques Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1333,7 +1333,12 @@ // smooth the outsides of shapes. glEnable(GL_LINE_SMOOTH); glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); // GL_NICEST, GL_FASTEST, GL_DONT_CARE + +#if 0 + // Enabling polygon smoothing has a side effect of filled "surfaces" gain some + // transparency. So let's disable this for now. glEnable (GL_POLYGON_SMOOTH); +#endif glMatrixMode(GL_PROJECTION); glOrtho(-OVERSIZE, OVERSIZE, OVERSIZE, -OVERSIZE, -1, 1); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit