Skip to content

Commit

Permalink
Fix C89 compiler complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
miguedevel committed Jan 5, 2025
1 parent 386d630 commit 57ce04f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/task_screenshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ static bool take_screenshot_viewport(
struct video_viewport vp;
bool success;
bool shaders_used;
settings_t* settings;
video_driver_state_t *video_st = video_state_get_ptr();
uint8_t *buffer = NULL;

Expand All @@ -467,7 +468,7 @@ static bool take_screenshot_viewport(
vp.full_width = 0;
vp.full_height = 0;

settings_t* settings = config_get_ptr();
settings = config_get_ptr();

video_driver_get_viewport_info(&vp);

Expand Down

0 comments on commit 57ce04f

Please sign in to comment.