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 | void MetavoxelSystem::init() { | 34 | void MetavoxelSystem::init() { |
| 35 | if (!_program.isLinked()) { | 35 | if (!_program.isLinked()) { |
| 36 | switchToResourcesParentIfRequired(); | 36 | _program.addShaderFromSourceFile(QGLShader::Vertex, Application::resourcesPath() + "shaders/metavoxel_point.vert"); |
| 37 | _program.addShaderFromSourceFile(QGLShader::Vertex, "resources/shaders/metavoxel_point.vert"); | ||
| 38 | _program.link(); | 37 | _program.link(); |
| 39 | 38 | ||
| 40 | _pointScaleLocation = _program.uniformLocation("pointScale"); | 39 | _pointScaleLocation = _program.uniformLocation("pointScale"); |