# Work at gfx driver system
- 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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user