(PS3/XDK) Set input and input_data pointers to NULL in context files

This commit is contained in:
twinaphex 2013-10-30 14:03:21 +01:00
parent 229dbf9cb2
commit 3219c5b9f2
2 changed files with 10 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{