mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
(menu_animation.c) Need to find a different way to remove this
dependency
This commit is contained in:
parent
60f335cf02
commit
f320eb45d8
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user