History

Squashed scribe changes

Bradley Austin Davis committed 8 years ago

Commit fd007e81 parent 6b8bfdb38 files · +421 −322Browse files

Showing the changes to libraries/render-utils/src/AnimDebugDraw.cpp (1 of 38 files). Show all

Unified · Split

libraries/render-utils/src/AnimDebugDraw.cpp+4−4
@@ -13,12 +13,12 @@ · 12 unmodified lines
1313 #include <gpu/Batch.h>
1414 #include <GLMHelpers.h>
1515
16−#include "animdebugdraw_vert.h"
17−#include "animdebugdraw_frag.h"
1816 #include "AbstractViewStateInterface.h"
1917 #include "RenderUtilsLogging.h"
2018 #include "DebugDraw.h"
2119
20+#include "animdebugdraw_vert.h"
21+#include "animdebugdraw_frag.h"
2222
2323 class AnimDebugDrawData {
2424 public:
@@ -102,8 +102,8 @@ AnimDebugDraw::AnimDebugDraw() : · 77 unmodified lines
102102 state->setBlendFunction(false, gpu::State::SRC_ALPHA, gpu::State::BLEND_OP_ADD,
103103 gpu::State::INV_SRC_ALPHA, gpu::State::FACTOR_ALPHA,
104104 gpu::State::BLEND_OP_ADD, gpu::State::ONE);
105− auto vertShader = gpu::Shader::createVertex(std::string(animdebugdraw_vert));
106− auto fragShader = gpu::Shader::createPixel(std::string(animdebugdraw_frag));
105+ auto vertShader = animdebugdraw_vert::getShader();
106+ auto fragShader = animdebugdraw_frag::getShader();
107107 auto program = gpu::Shader::createProgram(vertShader, fragShader);
108108 _pipeline = gpu::Pipeline::create(program, state);
109109

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t