[core] move draw mode and primitives to gfx namespace

This commit is contained in:
Konstantin Käfer
2019-02-28 17:41:38 +01:00
parent c53cbe5246
commit fd37d90650
49 changed files with 141 additions and 126 deletions

View File

@@ -63,7 +63,7 @@ void RenderImageSource::finishRender(PaintParameters& parameters) {
for (auto matrix : matrices) {
programInstance.draw(
parameters.context,
gl::LineStrip { 4.0f * parameters.pixelRatio },
gfx::LineStrip { 4.0f * parameters.pixelRatio },
gl::DepthMode::disabled(),
gl::StencilMode::disabled(),
gl::ColorMode::unblended(),