Browse Source

Fixes

pull/576/head
Vladislav Oleshko 4 years ago
parent
commit
09ab0ef579
  1. 3
      src/Magnum/Shaders/PhongGL.cpp
  2. 2
      src/Magnum/Shaders/Test/MeshVisualizerGLTest.cpp

3
src/Magnum/Shaders/PhongGL.cpp

@ -457,6 +457,9 @@ PhongGL::PhongGL(CompileState&& cs)
/* Object ID is zero by default */ /* Object ID is zero by default */
} }
#endif #endif
static_cast<void>(context);
static_cast<void>(version);
} }
PhongGL::PhongGL(Flags flags, UnsignedInt lightCount) : PhongGL{compile(flags, lightCount)} {} PhongGL::PhongGL(Flags flags, UnsignedInt lightCount) : PhongGL{compile(flags, lightCount)} {}

2
src/Magnum/Shaders/Test/MeshVisualizerGLTest.cpp

@ -1722,7 +1722,7 @@ void MeshVisualizerGLTest::construct3DAsync() {
const char* name; const char* name;
MeshVisualizerGL3D::Flags flags; MeshVisualizerGL3D::Flags flags;
} data { } data {
"object ID texture array", MeshVisualizerGL3D::Flag::ObjectIdTexture|MeshVisualizerGL3D::Flag::TextureArrays "wireframe w/o GS", MeshVisualizerGL3D::Flag::Wireframe|MeshVisualizerGL3D::Flag::NoGeometryShader
}; };
setTestCaseDescription(data.name); setTestCaseDescription(data.name);

Loading…
Cancel
Save