windows: more HANDLE -> HMODULE changes.

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

No files matched your search

+1 -1
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"));