Revision: 4477 http://pd-gem.svn.sourceforge.net/pd-gem/?rev=4477&view=rev Author: zmoelnig Date: 2011-08-16 15:43:15 +0000 (Tue, 16 Aug 2011)
Log Message: ----------- made testure.{quality,repeat} settable via gem.conf Modified Paths: -------------- trunk/Gem/src/Pixes/pix_texture.cpp Modified: trunk/Gem/src/Pixes/pix_texture.cpp =================================================================== --- trunk/Gem/src/Pixes/pix_texture.cpp 2011-08-16 12:37:53 UTC (rev 4476) +++ trunk/Gem/src/Pixes/pix_texture.cpp 2011-08-16 15:43:15 UTC (rev 4477) @@ -71,10 +71,17 @@ m_textureType = GL_TEXTURE_RECTANGLE_ARB; #endif + int ival=1; + GemSettings::get("texture.repeat", ival); + repeatMess(ival); + + ival=1; + GemSettings::get("texture.quality", ival); + textureQuality(ival); + GemSettings::get("texture.rectangle", m_rectangle); GemSettings::get("texture.pbo", m_numPbo); - // create an inlet to receive external texture IDs m_inTexID = inlet_new(this->x_obj, &this->x_obj->ob_pd, &s_float, gensym("extTexture")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ pd-gem-CVS mailing list pd-gem-CVS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pd-gem-cvs