thread = SDL_CreateThread(TestThread, "TestThread", (void *)NULL);\r
\r
if (NULL == thread) {\r
- SDL_LogError("SDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
+ SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
} else {\r
SDL_WaitThread(thread, &threadReturnValue);\r
SDL_Log("\83X\83\8c\83b\83h\82Ì\96ß\82è\92l: %d\n", threadReturnValue);\r
thread = SDL_CreateThread(TestThread, "TestThread", (void *)NULL);\r
\r
if (NULL == thread) {\r
- SDL_LogError("\nSDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
+ SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "\nSDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
exit(-1);\r
}\r
\r
thread = SDL_CreateThread(TestThread, "TestThread", (void *)NULL);\r
\r
if (NULL == thread) {\r
- SDL_LogError("\nSDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
+ SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "\nSDL_CreateThread \8e¸\94s: %s\n", SDL_GetError());\r
exit(-1);\r
}\r
\r