Changed shader source list from a vector of sources to a map of shader types to source codes

This commit is contained in:
Alexander Szpakowski
2013-01-07 19:13:19 -04:00
parent b6088115c9
commit 808a09f786
5 changed files with 25 additions and 30 deletions
+1 -1
View File
@@ -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.