mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix issue #292: Can't send arrays to pixeleffects.
Arrays of numbers, vectors and matrices are supported.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user