Moved RenderDriver/WindorDriver init code to static create functions

This commit is contained in:
2025-04-08 18:24:33 +10:00
parent 286dd0fb0e
commit 608af1b866
9 changed files with 44 additions and 65 deletions

View File

@@ -7,7 +7,6 @@
#pragma once
#include <nova/api.h>
#include <nova/render/render_driver.h>
#include <nova/types.h>
#include <string_view>
@@ -17,6 +16,7 @@ namespace Nova {
class NOVA_API WindowDriver {
public:
static WindowDriver* create();
virtual ~WindowDriver() = default;
virtual void poll_events() = 0;