diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-08 13:56:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-08 13:56:15 +0000 |
| commit | 1e2a7e77f041f2b6bff2c7f7babd19fe7096609e (patch) | |
| tree | 6ec666b7474c1533db2c8872033f5cacebca83d2 /main.c | |
| parent | render: use CAIRO_OPERATER_SOURCE to draw glyphs (diff) | |
rgba: drop alpha channel support
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ #define min(x, y) ((x) < (y) ? (x) : (y)) #define max(x, y) ((x) > (y) ? (x) : (y)) -static const struct rgba default_foreground = {0.86, 0.86, 0.86, 1.0}; -static const struct rgba default_background = {0.067, 0.067, 0.067, 1.0}; +static const struct rgb default_foreground = {0.86, 0.86, 0.86}; +static const struct rgb default_background = {0.067, 0.067, 0.067}; static void shm_format(void *data, struct wl_shm *wl_shm, uint32_t format) |
