mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 13:45:55 +00:00
Don't display window cycling message on platforms without keyboard input
This commit is contained in:
+12
-9
@@ -975,19 +975,22 @@ rdcstr RenderDoc::GetOverlayText(RDCDriver driver, uint32_t frameNumber, int fla
|
||||
m_WindowFrameCapturers.size());
|
||||
}
|
||||
|
||||
for(size_t i = 0; i < keys.size(); i++)
|
||||
if(Keyboard::PlatformHasKeyInput())
|
||||
{
|
||||
if(i == 0)
|
||||
overlayText += " ";
|
||||
else
|
||||
overlayText += ", ";
|
||||
for(size_t i = 0; i < keys.size(); i++)
|
||||
{
|
||||
if(i == 0)
|
||||
overlayText += " ";
|
||||
else
|
||||
overlayText += ", ";
|
||||
|
||||
overlayText += ToStr(keys[i]);
|
||||
overlayText += ToStr(keys[i]);
|
||||
}
|
||||
|
||||
if(!keys.empty())
|
||||
overlayText += " to cycle between windows";
|
||||
}
|
||||
|
||||
if(!keys.empty())
|
||||
overlayText += " to cycle between windows";
|
||||
|
||||
overlayText += "\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user