mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
compile fix
This commit is contained in:
parent
86fb0984d2
commit
301848e037
@ -307,12 +307,12 @@ static bool gfx_ctx_has_focus(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -625,12 +625,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
}
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -462,12 +462,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
return api == GFX_CTX_OPENGL_API;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -378,12 +378,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
return api == GFX_CTX_OPENGL_API || GFX_CTX_OPENGL_ES_API;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -316,12 +316,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
return api == GFX_CTX_OPENGL_API;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -300,7 +300,7 @@ static float gfx_ctx_translate_aspect(unsigned width, unsigned height)
|
||||
return (float)width / height;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
/*peglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gfx_ctx_get_proc_address("eglCreateImageKHR");
|
||||
peglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gfx_ctx_get_proc_address("eglDestroyImageKHR");
|
||||
@ -308,7 +308,7 @@ bool gfx_ctx_can_egl_image_buffer(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
/*bool ret = false;
|
||||
if (!eglBuffer || !vcBuffer || (width != bufferLastWidth && height != bufferLastHeight && rgb32 != bufferLastRgb32))
|
||||
|
@ -404,12 +404,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
return api == GFX_CTX_OPENGL_API;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -525,12 +525,12 @@ int gfx_ctx_xdk_check_resolution(unsigned resolution_id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -503,12 +503,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
|
||||
}
|
||||
}
|
||||
|
||||
bool gfx_ctx_can_egl_image_buffer(void)
|
||||
static bool gfx_ctx_can_egl_image_buffer(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user