mirror of
https://github.com/aap/librw.git
synced 2026-04-19 21:13:13 +01:00
Added TGA reader and writer.
This commit is contained in:
@@ -24,6 +24,8 @@ struct Image
|
||||
void setPixels(uint8 *pixels);
|
||||
void setPalette(uint8 *palette);
|
||||
};
|
||||
Image *readTGA(const char *filename);
|
||||
void writeTGA(Image *image, const char *filename);
|
||||
|
||||
// TODO: raster, link into texdict
|
||||
struct Texture : PluginBase<Texture>
|
||||
|
||||
Reference in New Issue
Block a user