Update ImGui
This commit is contained in:
@@ -256,7 +256,7 @@ absl::Status Controller::CreateGuiContext() {
|
||||
|
||||
// Build a new ImGui frame
|
||||
ImGui_ImplSDLRenderer2_NewFrame();
|
||||
ImGui_ImplSDL2_NewFrame(window_.get());
|
||||
ImGui_ImplSDL2_NewFrame();
|
||||
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
@@ -95,6 +95,7 @@ absl::Status DungeonEditor::Initialize() {
|
||||
for (int block : rooms_[current_room_id_].blocks()) {
|
||||
room_gfx_sheets_.emplace_back(graphics_bin_[block].get());
|
||||
}
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
absl::Status DungeonEditor::RefreshGraphics() {
|
||||
|
||||
Reference in New Issue
Block a user