Rename Framebuffer to Canvas (issue #263). Move error reporting code.

Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
This commit is contained in:
vrld
2011-08-12 14:41:18 +02:00
parent 59a407bc6d
commit 28b4008797
16 changed files with 187 additions and 166 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
#include "Quad.h"
#include "SpriteBatch.h"
#include "ParticleSystem.h"
#include "Framebuffer.h"
#include "Canvas.h"
#include "PixelEffect.h"
namespace love
@@ -287,7 +287,7 @@ namespace opengl
ParticleSystem * newParticleSystem(Image * image, int size);
Framebuffer * newFramebuffer(int width, int height);
Canvas * newCanvas(int width, int height);
PixelEffect * newPixelEffect(const std::string& code);