mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Android context file) Add HAVE_EGL ifdefs
This commit is contained in:
parent
229891db59
commit
db71eaf083
@ -255,6 +255,7 @@ static bool gfx_ctx_has_focus(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef HAVE_EGL
|
||||
static bool gfx_ctx_init_egl_image_buffer(const video_info_t *video)
|
||||
{
|
||||
return false;
|
||||
@ -264,6 +265,7 @@ static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
const gfx_ctx_driver_t gfx_ctx_android = {
|
||||
gfx_ctx_init,
|
||||
@ -280,8 +282,10 @@ const gfx_ctx_driver_t gfx_ctx_android = {
|
||||
gfx_ctx_swap_buffers,
|
||||
gfx_ctx_input_driver,
|
||||
NULL,
|
||||
#ifdef HAVE_EGL
|
||||
gfx_ctx_init_egl_image_buffer,
|
||||
gfx_ctx_write_egl_image,
|
||||
#endif
|
||||
NULL,
|
||||
"android",
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user