mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Issue #5: Add Framebuffer:getImageData()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user