mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Changed shader source list from a vector of sources to a map of shader types to source codes
This commit is contained in:
@@ -270,7 +270,7 @@ public:
|
||||
|
||||
Canvas *newCanvas(int width, int height, Canvas::TextureType texture_type = Canvas::TYPE_NORMAL);
|
||||
|
||||
ShaderEffect *newShaderEffect(const std::vector<ShaderEffect::ShaderSource> shadersources);
|
||||
ShaderEffect *newShaderEffect(const ShaderEffect::ShaderSources &shadersources);
|
||||
|
||||
/**
|
||||
* Sets the foreground color.
|
||||
|
||||
Reference in New Issue
Block a user