fix framebuffer drawing on ios

This commit is contained in:
Konstantin Käfer
2014-05-22 14:15:51 +02:00
parent d1df97d46b
commit 6ae0b71bbb
6 changed files with 31 additions and 13 deletions

View File

@@ -19,6 +19,7 @@ public:
box cornersToBox(uint32_t z) const;
// Dimensions
bool hasSize() const;
uint16_t getWidth() const;
uint16_t getHeight() const;
uint16_t getFramebufferWidth() const;

View File

@@ -103,6 +103,7 @@ public:
void bindFramebuffer();
void pushFramebuffer();
GLuint popFramebuffer();
void discardFramebuffers();
void drawComposite(GLuint texture, const CompositeProperties &properties);
bool needsAnimation() const;