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