From fb719563676f8958141a5c984e876a9a1b18f48b Mon Sep 17 00:00:00 2001 From: OGAWA Hirofumi Date: Tue, 27 Oct 2015 02:45:48 +0900 Subject: ui/opengl: Reduce build required libraries for opengl We now use epoxy to load opengl libraries. This means we don't need to link opengl libraries directly if interfaces handled by epoxy. With this, we just need epoxy headers and epoxy's *.so to build. Tested with epoxy-1.3.1. - sdl2/gtk/console egl stuff doesn't require other than epoxy - milkymist-tmu2 glx stuff doesn't require other than epoxy (lm32 test is limited, because can't find mmone-bios.bin, so just test to load libGL with "./lm32-softmmu/qemu-system-lm32 -M milkymist,accel=qtest") Signed-off-by: OGAWA Hirofumi [ lm32 tested by kraxel ] Signed-off-by: Gerd Hoffmann --- hw/lm32/milkymist-hw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/lm32/milkymist-hw.h') diff --git a/hw/lm32/milkymist-hw.h b/hw/lm32/milkymist-hw.h index 8d20cac..c8dfb4d 100644 --- a/hw/lm32/milkymist-hw.h +++ b/hw/lm32/milkymist-hw.h @@ -88,7 +88,8 @@ static inline DeviceState *milkymist_pfpu_create(hwaddr base, #ifdef CONFIG_OPENGL #include -#include +#include +#include static const int glx_fbconfig_attr[] = { GLX_GREEN_SIZE, 5, GLX_GREEN_SIZE, 6, -- cgit v1.1