diff --git a/libultraship/libultraship/Lib/Fast3D/gfx_opengl.cpp b/libultraship/libultraship/Lib/Fast3D/gfx_opengl.cpp index b7de306a6..0a8c70181 100644 --- a/libultraship/libultraship/Lib/Fast3D/gfx_opengl.cpp +++ b/libultraship/libultraship/Lib/Fast3D/gfx_opengl.cpp @@ -74,7 +74,7 @@ struct GLTexture { bool filter; }; -static struct GLTexture opengl_tex[0x1000000]; +static std::map opengl_tex; static GLint opengl_curtex = 0; static map, struct ShaderProgram> shader_program_pool;