diff options
Diffstat (limited to '')
-rw-r--r-- | src/RendererEntity.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/RendererEntity.cpp b/src/RendererEntity.cpp index 6a92cec..0bc2606 100644 --- a/src/RendererEntity.cpp +++ b/src/RendererEntity.cpp @@ -147,20 +147,7 @@ void RendererEntity::Render(RenderState & renderState) { glUniformMatrix4fv(modelLoc, 1, GL_FALSE, glm::value_ptr(model)); glUniform3f(colorLoc, entity.renderColor.x, entity.renderColor.y, entity.renderColor.z); glCheckError(); - glDrawArrays(GL_TRIANGLES, 0, 36); + glDrawArrays(GL_LINE_STRIP, 0, 36); glCheckError(); -} - -void RendererEntity::PrepareResources() -{ -} - -void RendererEntity::PrepareRender() -{ -} - -bool RendererEntity::IsNeedResourcesPrepare() -{ - return false; -} +}
\ No newline at end of file |