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
@@ -5,7 +5,7 @@
#include <string>
#include <map>
#include "Image.h"
#include "Framebuffer.h"
#include "Canvas.h"
namespace love
{
@@ -31,7 +31,7 @@ namespace opengl
void sendFloat(const std::string& name, int count, const GLfloat* vec);
void sendMatrix(const std::string& name, int size, const GLfloat* m);
void sendImage(const std::string& name, const Image& image);
void sendFramebuffer(const std::string& name, const Framebuffer& fb);
void sendCanvas(const std::string& name, const Canvas& canvas);
private:
GLint getUniformLocation(const std::string& name);