windows: more HANDLE -> HMODULE changes.

This commit is contained in:
Ozkan Sezer
2022-12-31 08:00:00 +03:00
parent 0a8f9777a7
commit 5b904a103a
2 changed files with 7 additions and 7 deletions

View File

@@ -150,7 +150,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"));