Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 28 files). Show all
Unified · Split
| @@ -30,8 +30,7 @@ MetavoxelSystem::MetavoxelSystem() : · 29 unmodified lines | |||
| 30 | 30 | ||
| 31 | void MetavoxelSystem::init() { | 31 | void MetavoxelSystem::init() { |
| 32 | if (!_program.isLinked()) { | 32 | if (!_program.isLinked()) { |
| 33 | switchToResourcesParentIfRequired(); | 33 | _program.addShaderFromSourceFile(QGLShader::Vertex, ":/shaders/metavoxel_point.vert"); |
| 34 | _program.addShaderFromSourceFile(QGLShader::Vertex, "resources/shaders/metavoxel_point.vert"); | ||
| 35 | _program.link(); | 34 | _program.link(); |
| 36 | 35 | ||
| 37 | _pointScaleLocation = _program.uniformLocation("pointScale"); | 36 | _pointScaleLocation = _program.uniformLocation("pointScale"); |