summaryrefslogtreecommitdiff
path: root/src/util.h
blob: 02e2c6a2da1b2c356b6352213e1d4809b9a87bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 */