bandaid fix on snapshots. i'm gonna have to rewrite this whole system lol

This commit is contained in:
2025-11-17 02:50:08 -05:00
parent 25e902f4ea
commit b207a78a1f
2 changed files with 1 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ namespace anm2ed::resource
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter);
glPixelStorei(GL_UNPACK_ALIGNMENT, 1); glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size.x, size.y, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, size.x, size.y, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data());
glGenerateMipmap(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, 0); glBindTexture(GL_TEXTURE_2D, 0);
} }

View File

@@ -7,7 +7,7 @@
namespace anm2ed::snapshots namespace anm2ed::snapshots
{ {
constexpr auto ACTION = "Action"; constexpr auto ACTION = "Action";
constexpr auto MAX = 100; constexpr auto MAX = 20;
}; };
namespace anm2ed namespace anm2ed