Remove Gfx Driver Vertex and IndexBuffer size config

This commit is contained in:
2026-09-06 15:58:09 +02:00
committed by tobid7
parent 57c376a822
commit 4691d158a9
7 changed files with 41 additions and 31 deletions
@@ -11,9 +11,6 @@ struct GfxCitro3DConfig {
// Index Allocator
template <typename T>
using IndexAlloc = LinearAllocator<T>;
static constexpr size_t NumVertices = 32768; // 8192*4
static constexpr size_t NumIndices = 49152; // 8192*6
};
class GfxCitro3D : public GfxDriverBase<GfxCitro3DConfig> {
@@ -10,9 +10,6 @@ struct GfxDirectX9Config {
// Index Allocator
template <typename T>
using IndexAlloc = std::allocator<T>;
static constexpr size_t NumVertices = 32768; // 8192*4
static constexpr size_t NumIndices = 49152; // 8192*6
};
class GfxDirectX9 : public GfxDriverBase<GfxDirectX9Config> {
@@ -10,9 +10,6 @@ struct GfxOpenGL2Config {
// Index Allocator
template <typename T>
using IndexAlloc = std::allocator<T>;
static constexpr size_t NumVertices = 32768; // 8192*4
static constexpr size_t NumIndices = 49152; // 8192*6
};
class GfxOpenGL2 : public GfxDriverBase<GfxOpenGL2Config> {
@@ -10,9 +10,6 @@ struct GfxOpenGL3Config {
// Index Allocator
template <typename T>
using IndexAlloc = std::allocator<T>;
static constexpr size_t NumVertices = 32768; // 8192*4
static constexpr size_t NumIndices = 49152; // 8192*6
};
class GfxOpenGL3 : public GfxDriverBase<GfxOpenGL3Config> {