Canvases now have OpenGL ES support, updated Texture:setWrap to return false for repeat wrap modes in non-power-of-two textures if OpenGL ES 2 is used and the implementation doesn't have support for repeat on NPOT textures.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-01-20 15:13:59 -04:00
parent 18ab3973e8
commit 8067d42df2
9 changed files with 136 additions and 47 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ public:
virtual GLuint getGLTexture() const;
virtual void setFilter(const Texture::Filter &f);
virtual void setWrap(const Texture::Wrap &w);
virtual bool setWrap(const Texture::Wrap &w);
void setMipmapSharpness(float sharpness);
float getMipmapSharpness() const;