[graphics] small improvements (#1351)

* faster texture upload lookup

* fix debug menu

* cleanup

* one more
This commit is contained in:
water111
2022-05-02 21:26:17 -04:00
committed by GitHub
parent 4d634cf50d
commit e8911758f0
16 changed files with 316 additions and 102 deletions
+4 -2
View File
@@ -123,8 +123,10 @@ void OpenGlDebugGui::draw(const DmaStats& dma_stats) {
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Reboot in Debug Mode")) {
want_reboot_in_debug = true;
if (ImGui::BeginMenu("Debug Mode")) {
if (ImGui::MenuItem("Reboot now!")) {
want_reboot_in_debug = true;
}
ImGui::EndMenu();
}
}