diff --git a/tests/cpp-tests/Classes/ShaderTest/ShaderTest.cpp b/tests/cpp-tests/Classes/ShaderTest/ShaderTest.cpp index e22e9c6791..91badc1207 100644 --- a/tests/cpp-tests/Classes/ShaderTest/ShaderTest.cpp +++ b/tests/cpp-tests/Classes/ShaderTest/ShaderTest.cpp @@ -4,7 +4,7 @@ static int sceneIdx = -1; -#define MAX_LAYER 11 +#define MAX_LAYER 10 static Layer* createShaderLayer(int nIndex) {