File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -195,16 +195,16 @@ class NBL_API2 ICPUImage final : public IImage, public IPreHashed
195
195
return true ;
196
196
}
197
197
198
- inline bool valid () const override
199
- {
200
- if (!validateCreationParameters (m_creationParams)) return false ;
201
- if (info != m_creationParams.format ) return false ;
202
- if (buffer && !buffer->valid ()) return false ;
203
- if (regions)
204
- for (const auto & region : *regions)
205
- if (!region.isValid ()) return false ;
206
- return true ;
207
- }
198
+ inline bool valid () const override
199
+ {
200
+ if (!validateCreationParameters (m_creationParams)) return false ;
201
+ if (info != m_creationParams.format ) return false ;
202
+ if (buffer && !buffer->valid ()) return false ;
203
+ if (regions)
204
+ for (const auto & region : *regions)
205
+ if (!region.isValid ()) return false ;
206
+ return true ;
207
+ }
208
208
209
209
protected:
210
210
inline ICPUImage (const SCreationParams& _params) : IImage(_params) {}
You can’t perform that action at this time.
0 commit comments