File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,26 +233,6 @@ namespace vsg
233233 void _clear ();
234234
235235 ModifiedCount _modifiedCount;
236-
237- #if 1
238- public:
239- // / deprecated: provided for backwards compatibility, use Properties instead.
240- using Layout = Properties;
241-
242- // / deprecated: use data->properties = properties instead.
243- void setLayout (const Layout& layout)
244- {
245- VkFormat previous_format = properties.format ; // temporary hack to keep applications that call setFormat(..) before setLayout(..) working
246- uint32_t previous_stride = properties.stride ;
247- properties = layout;
248- if (properties.format == 0 && previous_format != 0 ) properties.format = previous_format; // temporary hack to keep existing applications working
249- if (properties.stride == 0 && previous_stride != 0 ) properties.stride = previous_stride; // make sure the layout has a valid stride.
250- }
251- // / deprecated: use data->properties
252- Layout& getLayout () { return properties; }
253- // / deprecated: use data->properties
254- const Layout& getLayout () const { return properties; }
255- #endif
256236 };
257237 VSG_type_name (vsg::Data);
258238
You can’t perform that action at this time.
0 commit comments