mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Use initializer list copy constructor instead of per-element copying for shader source list in ShaderEffect constructor
This commit is contained in:
@@ -82,7 +82,7 @@ private:
|
||||
GLuint createShader(const ShaderSource &source);
|
||||
void createProgram(const std::vector<GLuint> &shaders);
|
||||
|
||||
std::vector<ShaderSource> _shaders; // all shader code attached to this ShaderEffect
|
||||
std::vector<ShaderSource> _shadersources; // list of all shader code attached to this ShaderEffect
|
||||
|
||||
GLuint _program; // volatile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user