mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
d28d6505bd
commit
da076ffed6
6 changed files with 23 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue