diff options
author | dan sinclair <dj2@everburning.com> | 2019-01-15 10:42:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 10:42:30 -0500 |
commit | 39af1036672c700d59410633f4b2383542d478a0 (patch) | |
tree | f2985410d35567b3e11da8cb0ef87782d0fb6a78 /src/executor_test.cc | |
parent | c3617ae73c77b4a520d9987fa71b0d4a9ca4d7c0 (diff) | |
download | amber-39af1036672c700d59410633f4b2383542d478a0.tar.gz |
Convert API to C++03 from C++11 for CTS compatibility (#218)
The CTS requires code to not use c++11. This CL converts the various
c++11-ism's in the Amber API to C++03.
Diffstat (limited to 'src/executor_test.cc')
-rw-r--r-- | src/executor_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor_test.cc b/src/executor_test.cc index 3523ed3..d184067 100644 --- a/src/executor_test.cc +++ b/src/executor_test.cc @@ -457,8 +457,8 @@ void main() {} auto shader_types = ToStub(engine.get())->GetShaderTypesSeen(); ASSERT_EQ(2U, shader_types.size()); - EXPECT_EQ(ShaderType::kVertex, shader_types[0]); - EXPECT_EQ(ShaderType::kFragment, shader_types[1]); + EXPECT_EQ(kShaderTypeVertex, shader_types[0]); + EXPECT_EQ(kShaderTypeFragment, shader_types[1]); } TEST_F(VkScriptExecutorTest, ShaderFailure) { |