- Update pool to use template allocator directly instead of std::vector

- Add a GfxDriver config Template to be able to modify settings like allocators / Types for specific Drivers
- Add glad
This commit is contained in:
2026-09-06 16:16:17 +02:00
parent 8a94f0ccd0
commit dc45ded218
17 changed files with 25678 additions and 30 deletions
+5
View File
@@ -24,5 +24,10 @@ int main() {
PD::Os::UseDriver<PD::OsDriver>();
ColorTests();
std::cout << PD::Os::GetTime() << std::endl;
PD::Pool<int> pool;
pool.Init(90);
int* elems = pool.Allocate(5);
std::cout << std::format("Pool ({}/{})", pool.size(), pool.capacity())
<< std::endl;
return 0;
}