mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
These functions were never used
This commit is contained in:
parent
4965b78ea3
commit
d08a3b2310
@ -130,17 +130,6 @@ static gfx_display_ctx_driver_t *gfx_display_ctx_drivers[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
static INLINE float gfx_display_scalef(float val,
|
||||
float oldmin, float oldmax, float newmin, float newmax)
|
||||
{
|
||||
return (((val - oldmin) * (newmax - newmin)) / (oldmax - oldmin)) + newmin;
|
||||
}
|
||||
|
||||
static INLINE float gfx_display_randf(float min, float max)
|
||||
{
|
||||
return (rand() * ((max - min) / (double)RAND_MAX)) + min;
|
||||
}
|
||||
|
||||
static float gfx_display_get_adjusted_scale_internal(
|
||||
gfx_display_t *p_disp,
|
||||
float base_scale, float scale_factor, unsigned width)
|
||||
|
Loading…
x
Reference in New Issue
Block a user