Showing the changes to libraries/render/src/render/DrawStatus.cpp (1 of 1213 files). Show all
Unified · Split
| @@ -35,8 +35,8 @@ void DrawStatusConfig::dirtyHelper() { · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | const gpu::PipelinePointer DrawStatus::getDrawItemBoundsPipeline() { |
| 37 | 37 | if (!_drawItemBoundsPipeline) { |
| 38 | − auto vs = gpu::Shader::createVertex(std::string(drawItemBounds_vert)); | |
| 39 | − auto ps = gpu::Shader::createPixel(std::string(drawItemBounds_frag)); | |
| 38 | + auto vs = drawItemBounds_vert::getShader(); | |
| 39 | + auto ps = drawItemBounds_frag::getShader(); | |
| 40 | 40 | gpu::ShaderPointer program = gpu::Shader::createProgram(vs, ps); |
| 41 | 41 | |
| 42 | 42 | gpu::Shader::BindingSet slotBindings; |
| @@ -63,8 +63,8 @@ const gpu::PipelinePointer DrawStatus::getDrawItemBoundsPipeline() { · 20 unmodified lines | ||
| 63 | 63 | |
| 64 | 64 | const gpu::PipelinePointer DrawStatus::getDrawItemStatusPipeline() { |
| 65 | 65 | if (!_drawItemStatusPipeline) { |
| 66 | − auto vs = gpu::Shader::createVertex(std::string(drawItemStatus_vert)); | |
| 67 | − auto ps = gpu::Shader::createPixel(std::string(drawItemStatus_frag)); | |
| 66 | + auto vs = drawItemStatus_vert::getShader(); | |
| 67 | + auto ps = drawItemStatus_frag::getShader(); | |
| 68 | 68 | gpu::ShaderPointer program = gpu::Shader::createProgram(vs, ps); |
| 69 | 69 | |
| 70 | 70 | gpu::Shader::BindingSet slotBindings; |