mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Add extra conditionals for all possible usecases (HAVE_EGL/HAVE_OPENGL/HAVE_OPENGLES/etc)
This commit is contained in:
parent
bd672b8b72
commit
f5c5c82729
@ -14,6 +14,10 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "../../config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Temporary switch until this driver is ready for Vulkan,
|
/* Temporary switch until this driver is ready for Vulkan,
|
||||||
* replace HAVE_VULKAN_SUPPORT with HAVE_VULKAN then */
|
* replace HAVE_VULKAN_SUPPORT with HAVE_VULKAN then */
|
||||||
#if 0
|
#if 0
|
||||||
@ -29,17 +33,24 @@
|
|||||||
|
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
|
#ifdef HAVE_EGL
|
||||||
#include <wayland-egl.h>
|
#include <wayland-egl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
|
|
||||||
#include "../../driver.h"
|
#include "../../driver.h"
|
||||||
#include "../../general.h"
|
#include "../../general.h"
|
||||||
#include "../../runloop.h"
|
#include "../../runloop.h"
|
||||||
|
#ifdef HAVE_EGL
|
||||||
#include "../common/egl_common.h"
|
#include "../common/egl_common.h"
|
||||||
|
#endif
|
||||||
|
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
|
||||||
#include "../common/gl_common.h"
|
#include "../common/gl_common.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static volatile sig_atomic_t g_quit = 0;
|
static volatile sig_atomic_t g_quit = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user