revert the recent typecast assignment changes (see bug #4079)
also change the void* typedefs for the two vulkan function pointers added in vulkan_internal.h into generic function pointer typedefs.
This commit is contained in:
parent
ba9ede12fb
commit
40b27fd51b
34 changed files with 174 additions and 146 deletions
|
@ -263,7 +263,7 @@ SDL_InitDynamicAPILocked(void)
|
|||
SDL_DYNAPI_ENTRYFN entry = SDL_DYNAPI_entry; /* funcs from here by default. */
|
||||
|
||||
if (libname) {
|
||||
*(void **)&entry = get_sdlapi_entry(libname, "SDL_DYNAPI_entry");
|
||||
entry = (SDL_DYNAPI_ENTRYFN) get_sdlapi_entry(libname, "SDL_DYNAPI_entry");
|
||||
if (!entry) {
|
||||
/* !!! FIXME: fail to startup here instead? */
|
||||
/* !!! FIXME: definitely warn user. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue