mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Don't default to fullscreen in touchscreen simulation mode
This commit is contained in:
@@ -1108,7 +1108,7 @@ GpDisplayDriver_SDL_GL2::GpDisplayDriver_SDL_GL2(const GpDisplayDriverProperties
|
|||||||
m_bgColor[3] = 1.f;
|
m_bgColor[3] = 1.f;
|
||||||
|
|
||||||
// Stupid hack to detect mobile...
|
// Stupid hack to detect mobile...
|
||||||
m_isFullScreenDesired = m_properties.m_systemServices->IsTouchscreen();
|
m_isFullScreenDesired = m_properties.m_systemServices->IsTouchscreen() && !m_properties.m_systemServices->IsUsingMouseAsTouch();
|
||||||
|
|
||||||
const intmax_t periodNum = std::chrono::high_resolution_clock::period::num;
|
const intmax_t periodNum = std::chrono::high_resolution_clock::period::num;
|
||||||
const intmax_t periodDen = std::chrono::high_resolution_clock::period::den;
|
const intmax_t periodDen = std::chrono::high_resolution_clock::period::den;
|
||||||
|
Reference in New Issue
Block a user