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
5252 return onAppTerminated_impl ();
5353 }
5454
55- virtual void onResize (uint32_t w, uint32_t h) {}
56-
5755 virtual void workLoopBody () = 0;
5856 virtual bool keepRunning () = 0;
5957 std::vector<std::string> argv;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class IGraphicalApplicationFramework
1515 virtual video::IAPIConnection* getAPIConnection () = 0;
1616 virtual video::ILogicalDevice* getLogicalDevice () = 0;
1717 virtual video::IGPURenderpass* getRenderpass () = 0;
18-
18+
1919 virtual void setSwapchain (core::smart_refctd_ptr<video::ISwapchain>&& s) = 0;
2020 virtual void setWindow (core::smart_refctd_ptr<nbl::ui::IWindow>&& window) = 0;
2121 virtual void setSurface (core::smart_refctd_ptr<video::ISurface>&& s) = 0;
@@ -25,6 +25,8 @@ class IGraphicalApplicationFramework
2525 virtual nbl::asset::E_FORMAT getDepthFormat () = 0;
2626
2727 virtual void recreateSurface () = 0;
28+
29+ virtual void onResize (uint32_t w, uint32_t h) = 0;
2830};
2931
3032}
You can’t perform that action at this time.
0 commit comments