File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
examples_tests/10.AllocatorTest Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -290,26 +290,18 @@ void AllocatorHandler<core::LinearAddressAllocator<uint32_t>>::randFreeAllocated
290
290
}
291
291
}
292
292
293
- class AllocatorTestSampleApp : public ApplicationBase
293
+ class AllocatorTestSampleApp : public NonGraphicalApplicationBase
294
294
{
295
295
core::smart_refctd_ptr<nbl::system::ISystem> system;
296
296
297
297
public:
298
- void setWindow (core::smart_refctd_ptr<nbl::ui::IWindow>&& wnd) override
299
- {
300
- assert (false && " This example shouldn't have a window!" );
301
- }
302
- nbl::ui::IWindow* getWindow () override
303
- {
304
- assert (false && " This example shouldn't have a window!" );
305
- return nullptr ;
306
- }
298
+
307
299
void setSystem (core::smart_refctd_ptr<nbl::system::ISystem>&& system) override
308
300
{
309
301
system = std::move (system);
310
302
}
311
303
312
- APP_CONSTRUCTOR (AllocatorTestSampleApp);
304
+ NON_GRAPHICAL_APP_CONSTRUCTOR (AllocatorTestSampleApp);
313
305
314
306
void onAppInitialized_impl () override
315
307
{
You can’t perform that action at this time.
0 commit comments