diff --git a/gfx/context/ps3_ctx.c b/gfx/context/ps3_ctx.c index d1ea16c19a..75af3b32b5 100644 --- a/gfx/context/ps3_ctx.c +++ b/gfx/context/ps3_ctx.c @@ -290,7 +290,11 @@ static void gfx_ctx_destroy(void) #endif } -static void gfx_ctx_input_driver(const input_driver_t **input, void **input_data) { } +static void gfx_ctx_input_driver(const input_driver_t **input, void **input_data) +{ + *input = NULL; + *input_data = NULL; +} static bool gfx_ctx_bind_api(enum gfx_ctx_api api, unsigned major, unsigned minor) { diff --git a/gfx/context/xdk_ctx.c b/gfx/context/xdk_ctx.c index 2af16d9171..02130e20c9 100644 --- a/gfx/context/xdk_ctx.c +++ b/gfx/context/xdk_ctx.c @@ -237,7 +237,11 @@ static void gfx_ctx_xdk_destroy(void) } } -static void gfx_ctx_xdk_input_driver(const input_driver_t **input, void **input_data) { } +static void gfx_ctx_xdk_input_driver(const input_driver_t **input, void **input_data) +{ + *input = NULL; + *input_data = NULL; +} static bool gfx_ctx_xdk_bind_api(enum gfx_ctx_api api, unsigned major, unsigned minor) {