Fix PixelIO<doc::RgbTraits>::write_pixel()

This is an unused function at the moment (because we have to move the
encoder from ase_format.cpp to the dio module yet).
This commit is contained in:
David Capello 2019-02-07 12:50:09 -03:00
parent 20aa9992c7
commit b8d5e86a8d

View File

@ -1,4 +1,5 @@
// Aseprite Document IO Library
// Copyright (c) 2019 Igara Studio S.A.
// Copyright (c) 2017-2018 David Capello
//
// This file is released under the terms of the MIT license.
@ -37,7 +38,6 @@ public:
return doc::rgba(r, g, b, a);
}
void write_pixel(FileInterface* f, doc::RgbTraits::pixel_t c) {
f->write8(doc::rgba_getr(c));
f->write8(doc::rgba_getr(c));
f->write8(doc::rgba_getg(c));
f->write8(doc::rgba_getb(c));