From 5694e759328e519ee4d48dfca8cd5f805c4ac671 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 28 Oct 2018 23:09:25 +0000 Subject: [PATCH] Fix build when opengl is disabled, again Signed-off-by: Yuxuan Shui --- src/win.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win.h b/src/win.h index 5e8b835..e19af2c 100644 --- a/src/win.h +++ b/src/win.h @@ -29,6 +29,7 @@ typedef struct { glx_texture_t *ptex; } paint_t; +#ifdef CONFIG_OPENGL // FIXME this type should be in opengl.h // it is very unideal for it to be here typedef struct { @@ -41,6 +42,7 @@ typedef struct { /// Height of the textures. int height; } glx_blur_cache_t; +#endif typedef enum { WINTYPE_UNKNOWN,