mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Linux: Draw the graphics API on the splash screen, like most other platforms.
This commit is contained in:
parent
50de04a290
commit
9b1d10063d
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -39,6 +39,7 @@ assets/flash0
|
|||
UWP/icph
|
||||
UWP/.vs
|
||||
.vs
|
||||
.vscode
|
||||
|
||||
# For Mac
|
||||
.DS_Store
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue