mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Push some build fixes when compiling with --disable-opengl --disable-shaderpipeline
This commit is contained in:
parent
fa4f538d69
commit
7d624fdedb
@ -20,6 +20,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
|
@ -109,7 +109,6 @@ static gfx_ctx_x_data_t *current_context_data = NULL;
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
static PFNGLXCREATECONTEXTATTRIBSARBPROC glx_create_context_attribs;
|
||||
#endif
|
||||
|
||||
static int GLXExtensionSupported(Display *dpy, const char *extension)
|
||||
{
|
||||
@ -134,6 +133,7 @@ static int GLXExtensionSupported(Display *dpy, const char *extension)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int x_nul_handler(Display *dpy, XErrorEvent *event)
|
||||
{
|
||||
|
@ -66,6 +66,7 @@ static unsigned to_display_pipeline(
|
||||
return ((type == MENU_DISPLAY_PRIM_TRIANGLESTRIP) << 1) | (blend << 0);
|
||||
}
|
||||
|
||||
#ifdef HAVE_SHADERPIPELINE
|
||||
static unsigned to_menu_pipeline(
|
||||
enum menu_display_prim_type type, unsigned pipeline)
|
||||
{
|
||||
@ -79,6 +80,7 @@ static unsigned to_menu_pipeline(
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void menu_display_vk_viewport(void *data)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user