Added FIXME comment for future bugfix

This commit is contained in:
themode 2021-01-06 21:34:59 +01:00
parent 8d1dda74d0
commit 709cc064e5

View File

@ -225,6 +225,7 @@ public class PaletteStorage implements PublicCloneable<PaletteStorage> {
* @param newBitsPerEntry the new bits per entry count
*/
private void resize(int newBitsPerEntry) {
// FIXME: artifacts when resizing
newBitsPerEntry = fixBitsPerEntry(newBitsPerEntry);
PaletteStorage paletteStorageCache = new PaletteStorage(newBitsPerEntry, bitsIncrement);