Skip to content
Snippets Groups Projects
Commit 1b12f119 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Img3D BodyPlotter expand auto

parent 14bff169
No related branches found
No related tags found
1 merge request!2054Img3D + some const, - some auto
......@@ -21,7 +21,7 @@ BodyPlotter::BodyPlotter(Geometry const& geometry)
{
initializeOpenGLFunctions();
const auto& mesh = geometry.mesh();
const QVector<Geometry::VertexAndNormal>& mesh = geometry.mesh();
m_vertexCount = mesh.count();
QOpenGLVertexArrayObject::Binder dummy(&m_vao);
......
......@@ -43,7 +43,7 @@ void Shader::init()
return;
doInit = false;
auto ok = addShaderFromSourceFile(QOpenGLShader::Vertex, ":/shaders/vertex_shader.vert");
bool ok = addShaderFromSourceFile(QOpenGLShader::Vertex, ":/shaders/vertex_shader.vert");
ASSERT(ok);
ok = addShaderFromSourceFile(QOpenGLShader::Fragment, ":/shaders/fragment_shader.frag");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment