mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +00:00
Don't duplicate global colormap as local colormap in GifEncoder
This commit is contained in:
parent
40c0ef2d48
commit
3d70c0193d
@ -1072,7 +1072,7 @@ private:
|
|||||||
frameBounds.x, frameBounds.y,
|
frameBounds.x, frameBounds.y,
|
||||||
frameBounds.w, frameBounds.h,
|
frameBounds.w, frameBounds.h,
|
||||||
m_interlaced ? 1: 0,
|
m_interlaced ? 1: 0,
|
||||||
colormap) == GIF_ERROR) {
|
(colormap != m_globalColormap ? colormap: nullptr)) == GIF_ERROR) {
|
||||||
throw Exception("Error writing GIF frame %d.\n", (int)frameNum);
|
throw Exception("Error writing GIF frame %d.\n", (int)frameNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user