Rename the Direct3D11 backend to Direct3D. The new short name is D3D.
This commit is contained in:
parent
3b188b0481
commit
755b280c3b
|
@ -58,18 +58,18 @@ unsigned int VideoBackend::PeekMessages()
|
||||||
void VideoBackend::UpdateFPSDisplay(const char *text)
|
void VideoBackend::UpdateFPSDisplay(const char *text)
|
||||||
{
|
{
|
||||||
TCHAR temp[512];
|
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);
|
EmuWindow::SetWindowText(temp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VideoBackend::GetName()
|
std::string VideoBackend::GetName()
|
||||||
{
|
{
|
||||||
return "DX11";
|
return "D3D";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VideoBackend::GetDisplayName()
|
std::string VideoBackend::GetDisplayName()
|
||||||
{
|
{
|
||||||
return "Direct3D11";
|
return "Direct3D";
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitBackendInfo()
|
void InitBackendInfo()
|
||||||
|
@ -142,7 +142,7 @@ void VideoBackend::ShowConfig(void *_hParent)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
InitBackendInfo();
|
InitBackendInfo();
|
||||||
VideoConfigDiag diag((wxWindow*)_hParent, _trans("Direct3D11"), "gfx_dx11");
|
VideoConfigDiag diag((wxWindow*)_hParent, _trans("Direct3D"), "gfx_dx11");
|
||||||
diag.ShowModal();
|
diag.ShowModal();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue