Topic/drawable 2 (#1029)
This commit is contained in:
committed by
Bart Louwers
parent
14b53e54ec
commit
e2bc75289c
@@ -28,7 +28,7 @@ void DrawableBuilder::flush() {
|
||||
if (!impl->vertices.empty()) {
|
||||
auto draw = getCurrentDrawable(/*create=*/true);
|
||||
currentDrawable->setDrawPriority(drawPriority);
|
||||
currentDrawable->setShaderID(shaderID);
|
||||
currentDrawable->setShader(shader);
|
||||
currentDrawable->setVertexAttributes(getVertexAttributes());
|
||||
currentDrawable->addTweakers(tweakers.begin(), tweakers.end());
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user