diff options
Diffstat (limited to 'src/mbgl/gl/program.hpp')
-rw-r--r-- | src/mbgl/gl/program.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/program.hpp b/src/mbgl/gl/program.hpp index 929237037b..44c16ae671 100644 --- a/src/mbgl/gl/program.hpp +++ b/src/mbgl/gl/program.hpp @@ -30,7 +30,7 @@ public: fragmentShader(context.createShader(ShaderType::Fragment, fragmentSource)), program(context.createProgram(vertexShader, fragmentShader)), attributesState(Attributes::state(program)), - uniformsState(Uniforms::state(program)) {} + uniformsState((context.linkProgram(program), Uniforms::state(program))) {} // Indexed drawing. template <class DrawMode> |