mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
use an std::map instead of a giant array
This commit is contained in:
parent
01d5e06beb
commit
c17e3da59b
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ struct GLTexture {
|
||||||
bool filter;
|
bool filter;
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct GLTexture opengl_tex[0x1000000];
|
static std::map<int, GLTexture> opengl_tex;
|
||||||
static GLint opengl_curtex = 0;
|
static GLint opengl_curtex = 0;
|
||||||
|
|
||||||
static map<pair<uint64_t, uint32_t>, struct ShaderProgram> shader_program_pool;
|
static map<pair<uint64_t, uint32_t>, struct ShaderProgram> shader_program_pool;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue