mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
(gfx_context) Fix warnings
This commit is contained in:
parent
bea3c59527
commit
c496ee71d2
@ -104,7 +104,7 @@ void find_next_context_driver(void)
|
||||
|
||||
static const gfx_ctx_driver_t *ctx_init(void *data,
|
||||
const gfx_ctx_driver_t *ctx,
|
||||
const char *driver,
|
||||
const char *drv,
|
||||
enum gfx_ctx_api api, unsigned major,
|
||||
unsigned minor, bool hw_render_ctx)
|
||||
{
|
||||
@ -173,13 +173,12 @@ static const gfx_ctx_driver_t *gfx_ctx_find_driver(void *data,
|
||||
|
||||
|
||||
const gfx_ctx_driver_t *gfx_ctx_init_first(void *data,
|
||||
const char *driver,
|
||||
const char *drv,
|
||||
enum gfx_ctx_api api, unsigned major,
|
||||
unsigned minor, bool hw_render_ctx)
|
||||
{
|
||||
unsigned i;
|
||||
const gfx_ctx_driver_t *ctx = (const gfx_ctx_driver_t*)
|
||||
gfx_ctx_find_driver(data, driver, api, major, minor,
|
||||
gfx_ctx_find_driver(data, drv, api, major, minor,
|
||||
hw_render_ctx);
|
||||
|
||||
if (!ctx)
|
||||
|
@ -149,6 +149,10 @@ extern const gfx_ctx_driver_t gfx_ctx_null;
|
||||
/* Finds first suitable driver and initializes. */
|
||||
const gfx_ctx_driver_t *gfx_ctx_init_first(void *data, const char *driver,
|
||||
enum gfx_ctx_api api, unsigned major, unsigned minor, bool hw_render_ctx);
|
||||
|
||||
void find_next_context_driver(void);
|
||||
|
||||
void find_prev_gfx_context_driver(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user