windows: more HANDLE -> HMODULE changes.

This commit is contained in:
Ozkan Sezer
2022-12-31 08:00:00 +03:00
parent 929da2c28e
commit 321c30db57
2 changed files with 7 additions and 7 deletions

View File

@@ -131,7 +131,7 @@ void SDL_SYS_SetupThread(const char *name)
if (name != NULL) {
#ifndef __WINRT__ /* !!! FIXME: There's no LoadLibrary() in WinRT; don't know if SetThreadDescription is available there at all at the moment. */
static pfnSetThreadDescription pSetThreadDescription = NULL;
static HMODULE kernel32 = 0;
static HMODULE kernel32 = NULL;
if (!kernel32) {
kernel32 = GetModuleHandle(TEXT("kernel32.dll"));