Fix build when opengl is disabled, again

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2018-10-28 23:09:25 +00:00
parent 309a4cec79
commit 5694e75932
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ typedef struct {
glx_texture_t *ptex; glx_texture_t *ptex;
} paint_t; } paint_t;
#ifdef CONFIG_OPENGL
// FIXME this type should be in opengl.h // FIXME this type should be in opengl.h
// it is very unideal for it to be here // it is very unideal for it to be here
typedef struct { typedef struct {
@ -41,6 +42,7 @@ typedef struct {
/// Height of the textures. /// Height of the textures.
int height; int height;
} glx_blur_cache_t; } glx_blur_cache_t;
#endif
typedef enum { typedef enum {
WINTYPE_UNKNOWN, WINTYPE_UNKNOWN,