|
From: <ba...@us...> - 2006-06-06 03:50:39
|
Revision: 332 Author: bardtx Date: 2006-06-05 20:50:33 -0700 (Mon, 05 Jun 2006) ViewCVS: http://svn.sourceforge.net/cadcdev/?rev=332&view=rev Log Message: ----------- tiki: Fix compilation error in Texture for DC port Modified Paths: -------------- tiki/src/gl/texture.cpp Modified: tiki/src/gl/texture.cpp =================================================================== --- tiki/src/gl/texture.cpp 2006-06-04 04:17:41 UTC (rev 331) +++ tiki/src/gl/texture.cpp 2006-06-06 03:50:33 UTC (rev 332) @@ -305,10 +305,12 @@ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, gvmode); // This provides the expected behavior on newer OpenGL impls... +#if TIKI_PLAT != TIKI_DC if (gumode == GL_CLAMP) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); if (gvmode == GL_CLAMP) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); +#endif } void * Texture::canvasLock() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |