mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
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:
parent
20aa9992c7
commit
b8d5e86a8d
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user