mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
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:
@@ -95,7 +95,7 @@ public:
|
||||
virtual void setFilter(const Filter &f) = 0;
|
||||
virtual const Filter &getFilter() const;
|
||||
|
||||
virtual void setWrap(const Wrap &w) = 0;
|
||||
virtual bool setWrap(const Wrap &w) = 0;
|
||||
virtual const Wrap &getWrap() const;
|
||||
|
||||
virtual const Vertex *getVertices() const;
|
||||
|
||||
Reference in New Issue
Block a user