Split IWindow a bit

This commit is contained in:
2020-10-24 23:02:01 +02:00
parent 30dd4f255c
commit ae76fa59e9
8 changed files with 55 additions and 32 deletions

View File

@@ -13,7 +13,7 @@ namespace openVulkanoCpp
class BaseWindow : virtual public IWindow
{
protected:
const int windowId;
const uint32_t windowId;
WindowConfiguration windowConfig;
public:
@@ -121,7 +121,7 @@ namespace openVulkanoCpp
return nullptr;
}
int GetWindowId() const override
[[nodiscard]] uint32_t GetWindowId() const override
{
return windowId;
}