Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 948 vs 950 for /trunk/Source Code/Environment/Sky/Sky.cpp

Diff revisions: vs.
  @@ -8,7 +8,7 @@
8 8 #include "Geometry/Material/Headers/Material.h"
9 9 #include "Platform/File/Headers/FileManagement.h"
10 10 #include "Platform/Video/Headers/RenderStateBlock.h"
11 - #include "Geometry/Shapes/Headers/Predefined/Sphere3D.h"
11 + #include "Geometry/Shapes/Predefined/Headers/Sphere3D.h"
12 12
13 13 namespace Divide {
14 14
  @@ -123,7 +123,7 @@
123 123 drawCommand._drawCommands.push_back(cmd);
124 124 pkgInOut.addDrawCommand(drawCommand);
125 125
126 - const Pipeline& pipeline = pkgInOut.pipeline(1);
126 + const Pipeline& pipeline = pkgInOut.pipeline(0);
127 127 PipelineDescriptor pipeDesc = pipeline.toDescriptor();
128 128 if (renderStagePass.pass() == RenderPassType::DEPTH_PASS) {
129 129 pipeDesc._stateHash = _skyboxRenderStateHashPrePass;
  @@ -135,7 +135,7 @@
135 135 pipeDesc._shaderProgram = _skyShader;
136 136 }
137 137
138 - pkgInOut.pipeline(1, _context.newPipeline(pipeDesc));
138 + pkgInOut.pipeline(0, _context.newPipeline(pipeDesc));
139 139
140 140 SceneNode::buildDrawCommands(sgn, renderStagePass, pkgInOut);
141 141 }