diff --git a/src/resource/texture.cpp b/src/resource/texture.cpp index 4b1c1d8..1a2b9fd 100644 --- a/src/resource/texture.cpp +++ b/src/resource/texture.cpp @@ -49,7 +49,6 @@ namespace anm2ed::resource glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter); glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 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); } diff --git a/src/snapshots.h b/src/snapshots.h index a1a05f9..587886b 100644 --- a/src/snapshots.h +++ b/src/snapshots.h @@ -7,7 +7,7 @@ namespace anm2ed::snapshots { constexpr auto ACTION = "Action"; - constexpr auto MAX = 100; + constexpr auto MAX = 20; }; namespace anm2ed