summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-07 13:47:35 +0100
committerPhil Jones <philj56@gmail.com>2022-06-07 15:31:49 +0100
commit51bbf779ba2c9d5954e2c9470a8eae7c1ddd38a5 (patch)
treef2b52f0211f9052fefa64e23c6a0d81305391589 /src/image.h
parent7562d7b539d8013376de2cff494231ba307f4ee1 (diff)
Switch from using (E)GL to wl_shm.
eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better.
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index a66e0cb..2afaa4d 100644
--- a/src/image.h
+++ b/src/image.h
@@ -8,7 +8,6 @@ struct image {
uint8_t *buffer;
uint32_t width;
uint32_t height;
- bool swizzle;
bool redraw;
struct {
uint32_t x;