Fix building with opengl, again

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-12-16 02:48:02 +00:00
parent 9ce1387f52
commit a48e1f65a9
4 changed files with 17 additions and 3 deletions

View File

@ -375,7 +375,7 @@ typedef struct glx_prog_main {
#endif
#else
typedef uint32_t glx_prog_main_t;
struct glx_prog_main { };
#endif
#define PAINT_INIT { .pixmap = None, .pict = None }