Commit 5a15e3ae authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

Merge branch 'fixCompileError' into 'master'

BUG: Fixed compile error

See merge request !211
parents 0ed65feb e181c950
......@@ -208,7 +208,9 @@ VTKCustomPolyDataMapper::SetMapperShaderParameters(
if (this->GetOpenGLMode(actor->GetProperty()->GetRepresentation(), helper.PrimitiveType) == GL_TRIANGLES)
auto diffuseColorTemp = material->getDiffuseColor();
float diffuseColor[3] = {diffuseColorTemp.r, diffuseColorTemp.g, diffuseColorTemp.b};
float diffuseColor[3] = {(float)diffuseColorTemp.r,
helper.Program->SetUniform3f("diffuseColorUniform", diffuseColor);
auto diffuseTexture = material->getTexture(Texture::DIFFUSE);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment