mirror of https://github.com/libsdl-org/SDL
SDL_dynapi.c: LoadLibraryA() returns HMODULE.
This commit is contained in:
parent
324c0b76a0
commit
929da2c28e
|
@ -367,7 +367,7 @@ SDL_DYNAPI_entry(Uint32 apiver, void *table, Uint32 tablesize)
|
|||
#include <windows.h>
|
||||
static SDL_INLINE void *get_sdlapi_entry(const char *fname, const char *sym)
|
||||
{
|
||||
HANDLE lib = LoadLibraryA(fname);
|
||||
HMODULE lib = LoadLibraryA(fname);
|
||||
void *retval = NULL;
|
||||
if (lib) {
|
||||
retval = GetProcAddress(lib, sym);
|
||||
|
|
Loading…
Reference in New Issue