Add Linux support

- Add linux build system using MakeGen
- Fix a swapchain validation error, likelydue to my linux system using a
  different vulkan version
- Make DescriptorPool take in amount of descriptors it needs, instead of
  allocating a mass amount for every pool, causing loads of RAM/VRAM usage
This commit is contained in:
Tim Håkansson
2025-08-09 21:42:15 +02:00
committed by GitHub
parent ecc11f07db
commit 4d2dfce31c
69 changed files with 389 additions and 152 deletions
+1 -2
View File
@@ -11,7 +11,6 @@
#include <map>
#include <typeindex>
#include <unordered_set>
#include <vector>
namespace Copium
{
@@ -36,7 +35,7 @@ namespace Copium
template <typename SystemClass>
void RemoveSystem()
{
systemPool->MoveSystemBefore(typeid(SystemClass));
systemPool->RemoveSystem(typeid(SystemClass));
}
void UpdateSystems();