Rename Renderer::create to Renderer::init
All functions that the create/destroy a global static singleton should use the names init and shutdown, while any static functions that return/take a new object should use the names create and destroy. e.g. void Renderer::init() and void Renderer::shutdown() Window* Window::create() and void Window::destroy(Window* window)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
namespace Nova {
|
||||
class NOVA_API Renderer {
|
||||
public:
|
||||
static void create(RenderAPI api);
|
||||
static void init(RenderAPI api);
|
||||
static void shutdown();
|
||||
static RenderDriver* get_driver();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user