Skip to content

Commit

Permalink
Fix render() no longer called by tick()
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Feb 1, 2020
1 parent b9fb768 commit 34981bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 32blit-sdl/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Uint32 System::mode() {
}

void System::update_texture(SDL_Texture *texture) {
blit::render(::now());
if (_mode == blit::screen_mode::lores) {
SDL_UpdateTexture(texture, NULL, (uint8_t *)__fb.data, 160 * 3);
}
Expand Down

0 comments on commit 34981bb

Please sign in to comment.