Skip to content

Commit 9f06471

Browse files
committed
Turn some viewport functions static
1 parent f2c598f commit 9f06471

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

gfx/video_driver.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ void video_driver_free_internal(void)
16741674
video_monitor_compute_fps_statistics(video_st->frame_time_count);
16751675
}
16761676

1677-
void video_driver_set_viewport_config(
1677+
static void video_driver_set_viewport_config(
16781678
struct retro_game_geometry *geom,
16791679
float video_aspect_ratio,
16801680
bool video_aspect_ratio_auto)
@@ -1701,7 +1701,8 @@ void video_driver_set_viewport_config(
17011701
aspectratio_lut[ASPECT_RATIO_CONFIG].value = video_aspect_ratio;
17021702
}
17031703

1704-
void video_driver_set_viewport_square_pixel(struct retro_game_geometry *geom)
1704+
static void video_driver_set_viewport_square_pixel(
1705+
struct retro_game_geometry *geom)
17051706
{
17061707
unsigned _len, i, aspect_x, aspect_y;
17071708
unsigned int rotation = 0;

gfx/video_driver.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,13 +1325,6 @@ bool video_driver_find_driver(
13251325

13261326
void video_driver_restore_cached(void *settings_data);
13271327

1328-
void video_driver_set_viewport_config(
1329-
struct retro_game_geometry *geom,
1330-
float video_aspect_ratio,
1331-
bool video_aspect_ratio_auto);
1332-
1333-
void video_driver_set_viewport_square_pixel(struct retro_game_geometry *geom);
1334-
13351328
bool video_driver_init_internal(bool *video_is_threaded, bool verbosity_enabled);
13361329

13371330
/**

0 commit comments

Comments
 (0)