From b207a78a1f057380ce7481bee2c3c28ed3dd8d19 Mon Sep 17 00:00:00 2001 From: shweet Date: Mon, 17 Nov 2025 02:50:08 -0500 Subject: [PATCH] bandaid fix on snapshots. i'm gonna have to rewrite this whole system lol --- src/resource/texture.cpp | 1 - src/snapshots.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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