Check surface support when choosing device

This commit is contained in:
2025-04-12 20:27:30 +10:00
parent 6cbf8df17a
commit 930bba636e
5 changed files with 58 additions and 16 deletions

View File

@@ -31,6 +31,7 @@ namespace Nova {
[[nodiscard]] u32 get_device_count() const override;
[[nodiscard]] const RenderDevice& get_device(u32 index) const override;
[[nodiscard]] bool get_device_supports_surface(u32 index, SurfaceID surface) const override;
void select_device(u32 index) override;
[[nodiscard]] SurfaceID create_surface(WindowID window) override;