Revert "(Win32/Vulkan) Dehardcode more program name strings"

This reverts commit 5cefcb83273c145e8aafc9b7b6988ffbb6071289.
This commit is contained in:
twinaphex 2019-07-19 19:39:43 +02:00
parent 5cefcb8327
commit b04e057b5d
2 changed files with 4 additions and 5 deletions

View File

@ -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 = msg_hash_to_str(MSG_PROGRAM);
app.pApplicationName = "RetroArch";
app.applicationVersion = 0;
app.pEngineName = msg_hash_to_str(MSG_PROGRAM);
app.pEngineName = "RetroArch";
app.engineVersion = 0;
app.apiVersion = VK_MAKE_VERSION(1, 0, 18);

View File

@ -1000,8 +1000,7 @@ bool win32_window_create(void *data, unsigned style,
user_height= g_win32_pos_height;
}
main_window.hwnd = CreateWindowEx(0,
msg_hash_to_str(MSG_PROGRAM),
msg_hash_to_str(MSG_PROGRAM),
"RetroArch", "RetroArch",
style,
fullscreen ? mon_rect->left : g_win32_pos_x,
fullscreen ? mon_rect->top : g_win32_pos_y,
@ -1442,7 +1441,7 @@ void win32_window_reset(void)
void win32_destroy_window(void)
{
#ifndef _XBOX
UnregisterClass(msg_hash_to_str(MSG_PROGRAM), GetModuleHandle(NULL));
UnregisterClass("RetroArch", GetModuleHandle(NULL));
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x500 /* 2K */
UnregisterDeviceNotification(notification_handler);
#endif