Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1144,6 +1144,8 @@ ScriptValue samplerToScriptValue(ScriptEngine* engine, const Sampler& sampler) { · 1143 unmodified lines | ||
| 1144 | 1144 | obj.setProperty("minFilter", qStringToScriptValue(engine, "linearMipmapLinear")); |
| 1145 | 1145 | obj.setProperty("magFilter", qStringToScriptValue(engine, "linear")); |
| 1146 | 1146 | break; |
| 1147 | + default: | |
| 1148 | + break; | |
| 1147 | 1149 | } |
| 1148 | 1150 | obj.setProperty("wrapModeU", qStringToScriptValue(engine, wrapModeToString(sampler.getWrapModeU()))); |
| 1149 | 1151 | obj.setProperty("wrapModeV", qStringToScriptValue(engine, wrapModeToString(sampler.getWrapModeV()))); |