aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-20 09:49:44 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-03-12 15:49:57 +0100
commitda076ffed6b9a9cb6b1afce78a4de743212db36e (patch)
tree52e2baee8dff269166497351543d2ec2766025b8 /hw/lm32
parentd28d6505bd72f0d6e3e7a968c60c27f893da976e (diff)
downloadqemu-da076ffed6b9a9cb6b1afce78a4de743212db36e.zip
qemu-da076ffed6b9a9cb6b1afce78a4de743212db36e.tar.gz
qemu-da076ffed6b9a9cb6b1afce78a4de743212db36e.tar.bz2
configure: opengl overhaul
Rename config option from "glx" to "opengl", glx will not be the only option for opengl in near future. Also switch over to pkg-config for opengl support detection. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/lm32')
-rw-r--r--hw/lm32/milkymist-hw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32/milkymist-hw.h b/hw/lm32/milkymist-hw.h
index 5317ce6..8d20cac 100644
--- a/hw/lm32/milkymist-hw.h
+++ b/hw/lm32/milkymist-hw.h
@@ -86,7 +86,7 @@ static inline DeviceState *milkymist_pfpu_create(hwaddr base,
return dev;
}
-#ifdef CONFIG_GLX
+#ifdef CONFIG_OPENGL
#include <X11/Xlib.h>
#include <GL/glx.h>
static const int glx_fbconfig_attr[] = {
@@ -100,7 +100,7 @@ static const int glx_fbconfig_attr[] = {
static inline DeviceState *milkymist_tmu2_create(hwaddr base,
qemu_irq irq)
{
-#ifdef CONFIG_GLX
+#ifdef CONFIG_OPENGL
DeviceState *dev;
Display *d;
GLXFBConfig *configs;