From 8db6a600b5cc4e15b1e655c144f9cacffa0e070c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 1 May 2026 19:56:09 -0700
Subject: [PATCH] Don't use mobile UI when streaming to a phone or tablet
We don't have real touch controls and there's no way to quit the game.
---
game/main.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/game/main.cpp b/game/main.cpp
index 29b578d2..fefc5d22 100644
--- a/game/main.cpp
+++ b/game/main.cpp
@@ -157,12 +157,14 @@ static bool SDL_IsPhone(void)
bool IsPhone(void)
{
- return (SDL_IsPhone() || SteamStreamingToPhone());
+ //return (SDL_IsPhone() || SteamStreamingToPhone());
+ return SDL_IsPhone();
}
bool IsTablet(void)
{
- return (SDL_IsTablet() || SteamStreamingToTablet());
+ //return (SDL_IsTablet() || SteamStreamingToTablet());
+ return SDL_IsTablet();
}
/* ----------------------------------------------------------------- */