File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ class NBL_API IApplicationFramework : public core::IReferenceCounted
52
52
return onAppTerminated_impl ();
53
53
}
54
54
55
- virtual void onResize (uint32_t w, uint32_t h) {}
56
-
57
55
virtual void workLoopBody () = 0;
58
56
virtual bool keepRunning () = 0;
59
57
std::vector<std::string> argv;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class IGraphicalApplicationFramework
15
15
virtual video::IAPIConnection* getAPIConnection () = 0;
16
16
virtual video::ILogicalDevice* getLogicalDevice () = 0;
17
17
virtual video::IGPURenderpass* getRenderpass () = 0;
18
-
18
+
19
19
virtual void setSwapchain (core::smart_refctd_ptr<video::ISwapchain>&& s) = 0;
20
20
virtual void setWindow (core::smart_refctd_ptr<nbl::ui::IWindow>&& window) = 0;
21
21
virtual void setSurface (core::smart_refctd_ptr<video::ISurface>&& s) = 0;
@@ -25,6 +25,8 @@ class IGraphicalApplicationFramework
25
25
virtual nbl::asset::E_FORMAT getDepthFormat () = 0;
26
26
27
27
virtual void recreateSurface () = 0;
28
+
29
+ virtual void onResize (uint32_t w, uint32_t h) = 0;
28
30
};
29
31
30
32
}
You can’t perform that action at this time.
0 commit comments