transparency for animation preview, QoL, change raw animation

This commit is contained in:
shweet committed 2026-05-03 11:22:42 -04:00
1 parent 7116298668
commit a1bdbeba1c
8 files changed
+66 -28

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ namespace anm2ed
glClearColor(color.r, color.g, color.b, color.a);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (color.a == 0.0f) glDisable(GL_BLEND);
if (color.a <= 0.0f) glDisable(GL_BLEND);
}
bool Framebuffer::is_valid() const { return fbo != 0; }