diff --git a/samples/extensions/khr/conway/main.cpp b/samples/extensions/khr/conway/main.cpp index 4fc85c8c..8a3f3c96 100644 --- a/samples/extensions/khr/conway/main.cpp +++ b/samples/extensions/khr/conway/main.cpp @@ -354,6 +354,7 @@ void Conway::event(const sf::Event& event) animating = !animating; } break; + default: break; } } diff --git a/samples/extensions/khr/nbody/main.cpp b/samples/extensions/khr/nbody/main.cpp index 6488ddd1..c0af5d27 100644 --- a/samples/extensions/khr/nbody/main.cpp +++ b/samples/extensions/khr/nbody/main.cpp @@ -412,6 +412,7 @@ void NBody::event(const sf::Event& event) dist = abs(dist); needMatrixReset = true; // view matrix need to be recalculated break; + default: break; } }