mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Ifdef for HAVE_RGL.
This commit is contained in:
parent
19f0c04021
commit
553b1d640a
8
gfx/gl.c
8
gfx/gl.c
@ -1214,6 +1214,7 @@ static bool gl_xml_shader(void *data, const char *path)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_RGL
|
||||||
static void gl_viewport_size(void *data, unsigned *width, unsigned *height)
|
static void gl_viewport_size(void *data, unsigned *width, unsigned *height)
|
||||||
{
|
{
|
||||||
gl_t *gl = (gl_t*)data;
|
gl_t *gl = (gl_t*)data;
|
||||||
@ -1232,6 +1233,7 @@ static bool gl_read_viewport(void *data, uint8_t *buffer)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef RARCH_CONSOLE
|
#ifdef RARCH_CONSOLE
|
||||||
static void gl_start(void)
|
static void gl_start(void)
|
||||||
@ -1329,7 +1331,13 @@ const video_driver_t video_gl = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
gl_set_rotation,
|
gl_set_rotation,
|
||||||
|
|
||||||
|
#ifndef HAVE_RGL
|
||||||
gl_viewport_size,
|
gl_viewport_size,
|
||||||
gl_read_viewport,
|
gl_read_viewport,
|
||||||
|
#else
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user