Added missing text overlay to tesselation example.

This commit is contained in:
Patrick Lühne 2016-08-15 02:04:10 +02:00
parent f4cc6bf5a4
commit 7de25e3e5d

View file

@ -558,8 +558,10 @@ public:
ss << std::setprecision(2) << std::fixed << uboTC.tessLevel; ss << std::setprecision(2) << std::fixed << uboTC.tessLevel;
#if defined(__ANDROID__) #if defined(__ANDROID__)
textOverlay->addText("Tessellation level: " + ss.str() + " (Buttons L1/R1 to change)", 5.0f, 85.0f, VulkanTextOverlay::alignLeft); textOverlay->addText("Tessellation level: " + ss.str() + " (Buttons L1/R1 to change)", 5.0f, 85.0f, VulkanTextOverlay::alignLeft);
textOverlay->addText("Press \"Button X\" to toggle splitscreen", 5.0f, 100.0f, VulkanTextOverlay::alignLeft);
#else #else
textOverlay->addText("Tessellation level: " + ss.str() + " (NUMPAD +/- to change)", 5.0f, 85.0f, VulkanTextOverlay::alignLeft); textOverlay->addText("Tessellation level: " + ss.str() + " (NUMPAD +/- to change)", 5.0f, 85.0f, VulkanTextOverlay::alignLeft);
textOverlay->addText("Press \"s\" to toggle splitscreen", 5.0f, 100.0f, VulkanTextOverlay::alignLeft);
#endif #endif
} }