Issue #5: Add Framebuffer:getImageData()

This commit is contained in:
vrld
2010-08-27 14:14:22 +02:00
parent f9f7e83f0e
commit ce6ca185f1
4 changed files with 47 additions and 2 deletions
+3 -2
View File
@@ -2,7 +2,8 @@
#define LOVE_GRAPHICS_FRAMEBUFFER_H
#include <graphics/Drawable.h>
#include <graphics/Volatile.h>
#include <image/Image.h>
#include <image/ImageData.h>
#include <common/math.h>
#include <map>
#include "GLee.h"
@@ -29,7 +30,7 @@ namespace opengl
void stopGrab();
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);
private:
GLsizei width;