Add get/setWrap to Framebuffer (issue #192).

This commit is contained in:
vrld
2011-03-10 13:41:25 +01:00
parent e77b94f112
commit a88c4c6a79
2 changed files with 36 additions and 5 deletions
+5 -1
View File
@@ -32,9 +32,12 @@ namespace opengl
virtual void draw(float x, float y, float angle, float sx, float sy, float ox, float oy) const;
love::image::ImageData * getImageData(love::image::Image * image);
void setFilter(Image::Filter f);
void setFilter(const Image::Filter &f);
Image::Filter getFilter() const;
void setWrap(const Image::Wrap &w);
Image::Wrap getWrap() const;
bool loadVolatile();
void unloadVolatile();
@@ -51,6 +54,7 @@ namespace opengl
struct {
Image::Filter filter;
Image::Wrap wrap;
} settings;
};