History

Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels

Andrzej Kapolka committed 12 years ago

Commit 3b634242 parents 23556f0 de8165c467 files · +1411 −115842Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 467 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+1−2
@@ -33,8 +33,7 @@ MetavoxelSystem::MetavoxelSystem() : · 32 unmodified lines
3333
3434 void MetavoxelSystem::init() {
3535 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");
3837 _program.link();
3938
4039 _pointScaleLocation = _program.uniformLocation("pointScale");