File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/nbl/video/utilities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ class CAssetConverter : public core::IReferenceCounted
175
175
// ! select build flags
176
176
uint8_t allowUpdate : 1 = false ;
177
177
uint8_t allowCompaction : 1 = false ;
178
- BuildPreference preference : 2 = BuildPreference::Invalid ;
178
+ BuildPreference preference : 2 = BuildPreference::None ;
179
179
uint8_t lowMemory : 1 = false ;
180
180
// ! things that control the build
181
181
uint8_t hostBuild : 1 = false ; // DO NOT USE, will get overriden to false anyway
@@ -187,7 +187,7 @@ class CAssetConverter : public core::IReferenceCounted
187
187
template <typename CRTP>
188
188
std::pair<bool ,CRTP> combine_impl (const CRTP& _this, const CRTP& other) const
189
189
{
190
- if (_this.preference !=other.preference || _this.preference = =BuildPreference::Invalid )
190
+ if (_this.preference !=other.preference && _this.preference !=BuildPreference::None && other. preference ! =BuildPreference::None )
191
191
return {false ,_this};
192
192
CRTP retval = _this;
193
193
retval.isMotion |= other.isMotion ;
You can’t perform that action at this time.
0 commit comments