Linux: Draw the graphics API on the splash screen, like most other platforms.

This commit is contained in:
Henrik Rydgård 2019-02-23 10:46:17 +01:00
parent 50de04a290
commit 9b1d10063d
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -39,6 +39,7 @@ assets/flash0
UWP/icph
UWP/.vs
.vs
.vscode
# For Mac
.DS_Store

View File

@ -507,7 +507,7 @@ void LogoScreen::render() {
int ppsspp_org_y = yres / 2 + 130;
dc.DrawText("www.ppsspp.org", bounds.centerX(), ppsspp_org_y, textColor, ALIGN_CENTER);
#if (defined(_WIN32) && !PPSSPP_PLATFORM(UWP)) || PPSSPP_PLATFORM(ANDROID)
#if (defined(_WIN32) && !PPSSPP_PLATFORM(UWP)) || PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(LINUX)
// Draw the graphics API, except on UWP where it's always D3D11
std::string apiName = screenManager()->getDrawContext()->GetInfoString(InfoField::APINAME);
dc.DrawText(gr->T(apiName), bounds.centerX(), ppsspp_org_y + 50, textColor, ALIGN_CENTER);