Revision: 6735 http://playerstage.svn.sourceforge.net/playerstage/?rev=6735&view=rev Author: alexcb Date: 2008-07-02 12:49:20 -0700 (Wed, 02 Jul 2008)
Log Message: ----------- fixed transparency issue with stall icon Modified Paths: -------------- code/stage/trunk/libstage/canvas.cc Modified: code/stage/trunk/libstage/canvas.cc =================================================================== --- code/stage/trunk/libstage/canvas.cc 2008-07-02 18:39:16 UTC (rev 6734) +++ code/stage/trunk/libstage/canvas.cc 2008-07-02 19:49:20 UTC (rev 6735) @@ -433,6 +433,7 @@ glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, texName); + glColor3f( 1.0, 1.0, 1.0 ); glBegin(GL_QUADS); @@ -836,7 +837,7 @@ glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, checkImageWidth, checkImageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, checkImage); - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); + glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); } loaded_texture = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit