diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..02e2c6a --- /dev/null +++ b/src/util.h @@ -0,0 +1,22 @@ +#ifndef UTIL_H +#define UTIL_H + +#include <stdbool.h> +#include <stdint.h> + +struct image { + uint8_t *buffer; + uint32_t width; + uint32_t height; + bool swizzle; + bool redraw; +}; + +struct color { + float r; + float g; + float b; + float a; +}; + +#endif /* UTIL_H */ |