Fix issue #292: Can't send arrays to pixeleffects.

Arrays of numbers, vectors and matrices are supported.
This commit is contained in:
vrld
2011-09-07 23:32:54 +02:00
parent 2eb9ee20d5
commit eec0250545
5 changed files with 177 additions and 71 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ namespace opengl
static void detach();
static bool isSupported();
void sendFloat(const std::string& name, int count, const GLfloat* vec);
void sendMatrix(const std::string& name, int size, const GLfloat* m);
void sendFloat(const std::string& name, int size, const GLfloat* vec, int count);
void sendMatrix(const std::string& name, int size, const GLfloat* m, int count);
void sendImage(const std::string& name, const Image& image);
void sendCanvas(const std::string& name, const Canvas& canvas);