Video Filters:

- Have the Bilinear filter use the same SSurface struct as all the others.
This commit is contained in:
rogerman 2014-02-15 20:35:54 +00:00
parent 98713caf4b
commit a15e6cee10
1 changed files with 1 additions and 7 deletions

View File

@ -4,6 +4,7 @@
** Written: 6/14/00 - JSF ** Written: 6/14/00 - JSF
**/ **/
#include "filter.h"
#include "types.h" #include "types.h"
int systemRedShift = 16; int systemRedShift = 16;
@ -145,13 +146,6 @@ void Bilinear(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */,
} }
} }
struct SSurface {
unsigned char *Surface;
unsigned int Pitch;
unsigned int Width, Height;
};
void BilinearPlus(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */, void BilinearPlus(u8 *srcPtr, u32 srcPitch, u8 * /* deltaPtr */,
u8 *dstPtr, u32 dstPitch, int width, int height) u8 *dstPtr, u32 dstPitch, int width, int height)
{ {