|
|
|
|
@ -60,8 +60,9 @@ template<UnsignedInt dimensions> DistanceFieldVector<dimensions>::DistanceFieldV
|
|
|
|
|
.addSource(rs.get(vertexShaderName<dimensions>())); |
|
|
|
|
vert.addSource(rs.get("DistanceFieldVector.frag")); |
|
|
|
|
|
|
|
|
|
/* GCC 4.5: the same issue */ |
|
|
|
|
std::initializer_list<std::reference_wrapper<Shader>> ss{frag, vert}; |
|
|
|
|
/* GCC 4.5: the same issue, GCC 4.4 additionally has explicit
|
|
|
|
|
std::reference_wrapper constructor */ |
|
|
|
|
std::initializer_list<std::reference_wrapper<Shader>> ss{std::ref(frag), std::ref(vert)}; |
|
|
|
|
CORRADE_INTERNAL_ASSERT_OUTPUT(Shader::compile(ss)); |
|
|
|
|
|
|
|
|
|
AbstractShaderProgram::attachShader(frag); |
|
|
|
|
|