Fix MSVC warnings on enum class switches

This commit is contained in:
Corentin Wallez
2017-07-10 20:31:47 -04:00
committed by Corentin Wallez
parent 6fb3aebf0c
commit 96acaef95e
15 changed files with 80 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
#include "tests/NXTTest.h"
#include "common/Assert.h"
#include "utils/NXTHelpers.h"
using nxt::InputStepMode;
@@ -72,6 +73,8 @@ class InputStateTest : public NXTTest {
return component >= 2;
case VertexFormat::FloatR32:
return component >= 1;
default:
NXT_UNREACHABLE();
}
}