mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-23 19:54:39 +00:00
(Context drivers) Cleanups
This commit is contained in:
parent
590e315bd1
commit
3a6e369516
@ -200,8 +200,10 @@ static bool gfx_ctx_emscripten_bind_api(void *data,
|
||||
case GFX_CTX_OPENGL_ES_API:
|
||||
return eglBindAPI(EGL_OPENGL_ES_API);
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_emscripten_destroy(void *data)
|
||||
|
@ -368,8 +368,10 @@ static bool gfx_ctx_vc_bind_api(void *data,
|
||||
case GFX_CTX_OPENVG_API:
|
||||
return eglBindAPI(EGL_OPENVG_API);
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_vc_destroy(void *data)
|
||||
|
@ -721,8 +721,10 @@ static bool gfx_ctx_wl_bind_api(void *data,
|
||||
case GFX_CTX_OPENVG_API:
|
||||
return eglBindAPI(EGL_OPENVG_API);
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_wl_bind_hw_render(void *data, bool enable)
|
||||
|
@ -781,8 +781,10 @@ static bool gfx_ctx_xegl_bind_api(void *data,
|
||||
case GFX_CTX_OPENVG_API:
|
||||
return eglBindAPI(EGL_OPENVG_API);
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
static void gfx_ctx_xegl_show_mouse(void *data, bool state)
|
||||
|
Loading…
x
Reference in New Issue
Block a user