trying to fix some warnings (had side effects)

This commit is contained in:
2021-06-14 17:44:59 +02:00
parent 05a8dfe1ff
commit 573b276116
10 changed files with 17 additions and 17 deletions

View File

@ -85,7 +85,7 @@ void BatchedSpriteSheet::render(Services::OpenGLRenderer& rs, Engine& engine) {
std::vector<instance_data> instances;
};
// HACK: assume same sp for same texture
std::unordered_map<MM::OpenGL::Texture::handle, sp_data> batch_map;
std::unordered_map<MM::OpenGL::Texture::handle_t, sp_data> batch_map;
auto view = scene.view<Components::Transform2D, SpriteSheetRenderable>();