mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(Win32/Vulkan) Dehardcode more program name strings
This commit is contained in:
parent
11291cc703
commit
5cefcb8327
@ -2034,9 +2034,9 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
|
||||
|
||||
use_instance_ext = vulkan_find_instance_extensions(instance_extensions, ext_count);
|
||||
|
||||
app.pApplicationName = "RetroArch";
|
||||
app.pApplicationName = msg_hash_to_str(MSG_PROGRAM);
|
||||
app.applicationVersion = 0;
|
||||
app.pEngineName = "RetroArch";
|
||||
app.pEngineName = msg_hash_to_str(MSG_PROGRAM);
|
||||
app.engineVersion = 0;
|
||||
app.apiVersion = VK_MAKE_VERSION(1, 0, 18);
|
||||
|
||||
|
@ -1000,7 +1000,8 @@ bool win32_window_create(void *data, unsigned style,
|
||||
user_height= g_win32_pos_height;
|
||||
}
|
||||
main_window.hwnd = CreateWindowEx(0,
|
||||
"RetroArch", "RetroArch",
|
||||
msg_hash_to_str(MSG_PROGRAM),
|
||||
msg_hash_to_str(MSG_PROGRAM),
|
||||
style,
|
||||
fullscreen ? mon_rect->left : g_win32_pos_x,
|
||||
fullscreen ? mon_rect->top : g_win32_pos_y,
|
||||
@ -1441,7 +1442,7 @@ void win32_window_reset(void)
|
||||
void win32_destroy_window(void)
|
||||
{
|
||||
#ifndef _XBOX
|
||||
UnregisterClass("RetroArch", GetModuleHandle(NULL));
|
||||
UnregisterClass(msg_hash_to_str(MSG_PROGRAM), GetModuleHandle(NULL));
|
||||
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x500 /* 2K */
|
||||
UnregisterDeviceNotification(notification_handler);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user