Rename the Direct3D11 backend to Direct3D. The new short name is D3D.

This commit is contained in:
Tony Wasserka 2013-09-22 17:48:48 +02:00
parent 3b188b0481
commit 755b280c3b
1 changed files with 4 additions and 4 deletions

View File

@ -58,18 +58,18 @@ unsigned int VideoBackend::PeekMessages()
void VideoBackend::UpdateFPSDisplay(const char *text)
{
TCHAR temp[512];
swprintf_s(temp, sizeof(temp)/sizeof(TCHAR), _T("%hs | DX11 | %hs"), scm_rev_str, text);
swprintf_s(temp, sizeof(temp)/sizeof(TCHAR), _T("%hs | D3D | %hs"), scm_rev_str, text);
EmuWindow::SetWindowText(temp);
}
std::string VideoBackend::GetName()
{
return "DX11";
return "D3D";
}
std::string VideoBackend::GetDisplayName()
{
return "Direct3D11";
return "Direct3D";
}
void InitBackendInfo()
@ -142,7 +142,7 @@ void VideoBackend::ShowConfig(void *_hParent)
{
#if defined(HAVE_WX) && HAVE_WX
InitBackendInfo();
VideoConfigDiag diag((wxWindow*)_hParent, _trans("Direct3D11"), "gfx_dx11");
VideoConfigDiag diag((wxWindow*)_hParent, _trans("Direct3D"), "gfx_dx11");
diag.ShowModal();
#endif
}