mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Get rid of some scaler header dependencies
This commit is contained in:
parent
2597af8cc5
commit
fd8a3d94ec
@ -21,8 +21,6 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "../../libretro.h"
|
||||
#include "../../performance.h"
|
||||
|
||||
// In case aligned allocs are needed later ...
|
||||
void *scaler_alloc(size_t elem_size, size_t size)
|
||||
|
@ -23,7 +23,7 @@ static inline uint8_t clamp_8bit(int val)
|
||||
{
|
||||
if (val > 255)
|
||||
return 255;
|
||||
else if (val < 0)
|
||||
if (val < 0)
|
||||
return 0;
|
||||
return (uint8_t)val;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#include "filter.h"
|
||||
#include "scaler_int.h"
|
||||
#include "../../general.h"
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user