mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(Lakka) Cleanups
This commit is contained in:
parent
9fc34b6d2d
commit
2523efdf48
@ -384,7 +384,7 @@ void lakka_draw_icon(GLuint texture, float x, float y,
|
|||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void lakka_draw_arrow()
|
static void lakka_draw_arrow(void)
|
||||||
{
|
{
|
||||||
lakka_draw_icon(textures[TEXTURE_ARROW].id,
|
lakka_draw_icon(textures[TEXTURE_ARROW].id,
|
||||||
margin_left + hspacing*(menu_active_category+1) +
|
margin_left + hspacing*(menu_active_category+1) +
|
||||||
@ -550,7 +550,7 @@ static void lakka_draw_categories(void)
|
|||||||
|
|
||||||
#ifdef HAVE_FBO
|
#ifdef HAVE_FBO
|
||||||
|
|
||||||
static void lakka_check_fb_status()
|
static void lakka_check_fb_status(void)
|
||||||
{
|
{
|
||||||
GLenum status;
|
GLenum status;
|
||||||
status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
||||||
@ -567,7 +567,7 @@ static void lakka_check_fb_status()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void lakka_fbo_reset()
|
static void lakka_fbo_reset(void)
|
||||||
{
|
{
|
||||||
gl_t *gl = (gl_t*)driver_video_resolve(NULL);
|
gl_t *gl = (gl_t*)driver_video_resolve(NULL);
|
||||||
if (!gl)
|
if (!gl)
|
||||||
@ -602,7 +602,7 @@ static void lakka_fbo_reset()
|
|||||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void lakka_draw_fbo()
|
static void lakka_draw_fbo(void)
|
||||||
{
|
{
|
||||||
gl_t *gl = (gl_t*)driver_video_resolve(NULL);
|
gl_t *gl = (gl_t*)driver_video_resolve(NULL);
|
||||||
if (!gl)
|
if (!gl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user