Renamed palette_colorIdx -> palette_colorToIdx

This commit is contained in:
rxi
2016-09-26 20:14:17 +01:00
parent 9ef23e88d7
commit eee7fccb82
4 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ static unsigned hash(const void *data, int size) {
}
int palette_colorIdx(int r, int g, int b) {
int palette_colorToIdx(int r, int g, int b) {
palette_init();
/* Make 18bit rgb color (6bits per-channel) from 8bit channels */