Get rid of some scaler header dependencies

This commit is contained in:
twinaphex 2014-10-23 03:52:18 +02:00
parent 2597af8cc5
commit fd8a3d94ec
3 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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;
}

View File

@ -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>