Skip to content

Commit

Permalink
Fix background scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jul 24, 2024
1 parent 8f2fcb8 commit 83592f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/shared/desktop/gui_debug_huc6270.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void gui_debug_window_huc6270_background(void)

ImGui::TextColored(magenta, "BACKGROUND");

ImGui::Image((void*)(intptr_t)renderer_emu_debug_huc6270_background, ImVec2(emu_debug_background_buffer_width, emu_debug_background_buffer_height), ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f));
ImGui::Image((void*)(intptr_t)renderer_emu_debug_huc6270_background, ImVec2(emu_debug_background_buffer_width, emu_debug_background_buffer_height), ImVec2(0.0f, 0.0f), ImVec2(emu_debug_background_buffer_width / 1024.0f, emu_debug_background_buffer_height / 512.0f));

ImGui::PopFont();

Expand Down

0 comments on commit 83592f7

Please sign in to comment.