diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/viewport.c | 2 | ||||
-rw-r--r-- | src/viewport.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -285,7 +285,7 @@ int main(int argc, char** argv) case SDLK_x: imv_navigator_remove_current_path(&nav); break; case SDLK_f: imv_viewport_toggle_fullscreen(&view); break; case SDLK_PERIOD: imv_loader_load_next_frame(&ldr); break; - case SDLK_SPACE: imv_viewport_toggle_playing(&view, &tex);break; + case SDLK_SPACE: imv_viewport_toggle_playing(&view); ;break; case SDLK_p: puts(imv_navigator_get_current_path(&nav));break; case SDLK_d: g_options.overlay = !g_options.overlay; diff --git a/src/viewport.c b/src/viewport.c index a4004ad..da6b6f5 100644 --- a/src/viewport.c +++ b/src/viewport.c @@ -43,7 +43,7 @@ void imv_viewport_toggle_fullscreen(struct imv_viewport *view) } } -void imv_viewport_toggle_playing(struct imv_viewport *view, struct imv_texture *tex) +void imv_viewport_toggle_playing(struct imv_viewport *view) { view->playing = !view->playing; } diff --git a/src/viewport.h b/src/viewport.h index 606c155..6668725 100644 --- a/src/viewport.h +++ b/src/viewport.h @@ -40,7 +40,7 @@ void imv_init_viewport(struct imv_viewport *view, SDL_Window *window); void imv_destroy_viewport(struct imv_viewport *view); void imv_viewport_toggle_fullscreen(struct imv_viewport*); -void imv_viewport_toggle_playing(struct imv_viewport*, struct imv_texture*); +void imv_viewport_toggle_playing(struct imv_viewport*); void imv_viewport_reset(struct imv_viewport*); void imv_viewport_move(struct imv_viewport*, int, int); void imv_viewport_zoom(struct imv_viewport*, const struct imv_texture*, enum imv_zoom_source, int); |