minor fix

This commit is contained in:
Ishotihadus
2018-05-27 18:03:29 +09:00
parent e9d27cb7cc
commit cc383eb5de
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
#include <stdint.h>
#include <string.h>
#include "dxtc.h"
static inline uint_fast32_t color(uint_fast8_t r, uint_fast8_t g, uint_fast8_t b, uint_fast8_t a) {
static inline uint_fast32_t color(uint_fast32_t r, uint_fast32_t g, uint_fast32_t b, uint_fast32_t a) {
return r | g << 8 | b << 16 | a << 24;
}