(menu_animation.c) Need to find a different way to remove this

dependency
This commit is contained in:
twinaphex 2020-02-14 21:26:13 +01:00
parent 60f335cf02
commit f320eb45d8
2 changed files with 1 additions and 7 deletions

View File

@ -1347,8 +1347,6 @@ bool menu_display_reset_textures_list_buffer(
return true;
}
/* Teardown; deinitializes and frees all
* fonts associated to the menu driver */
void menu_display_font_free(font_data_t *font)

View File

@ -33,6 +33,7 @@
#undef DG_DYNARR_IMPLEMENTATION
#include "menu_animation.h"
#include "menu_driver.h"
#include "../performance_counters.h"
struct tween
@ -1262,7 +1263,6 @@ static void menu_animation_update_time(
* system. We therefore take the same approach as GLUI,
* but with a different correction factor (expected
* scroll speed is somewhat lower for Ozone) */
#if 0
switch (menu_driver_ident_id())
{
case MENU_DRIVER_ID_RGUI:
@ -1280,10 +1280,6 @@ static void menu_animation_update_time(
ticker_pixel_increment *= ((float)video_width / 1920.0f);
break;
}
#else
if (video_width > 0)
ticker_pixel_increment *= ((float)video_width / 1920.0f);
#endif
/* > Update accumulator */
ticker_pixel_accumulator += ticker_pixel_increment;