From 9b1d10063dd102b61fc57429a658864f1ad896a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 23 Feb 2019 10:46:17 +0100 Subject: [PATCH] Linux: Draw the graphics API on the splash screen, like most other platforms. --- .gitignore | 1 + UI/MiscScreens.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e391987ab1..89dd7f9292 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ assets/flash0 UWP/icph UWP/.vs .vs +.vscode # For Mac .DS_Store diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp index 8d7891c08a..e132d44649 100644 --- a/UI/MiscScreens.cpp +++ b/UI/MiscScreens.cpp @@ -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);