From a15e6cee108b96c566f164ea3203bb126b099d3e Mon Sep 17 00:00:00 2001 From: rogerman Date: Sat, 15 Feb 2014 20:35:54 +0000 Subject: [PATCH] Video Filters: - Have the Bilinear filter use the same SSurface struct as all the others. --- desmume/src/filter/bilinear.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/desmume/src/filter/bilinear.cpp b/desmume/src/filter/bilinear.cpp index a1a3b49aa..63f190073 100644 --- a/desmume/src/filter/bilinear.cpp +++ b/desmume/src/filter/bilinear.cpp @@ -4,6 +4,7 @@ ** Written: 6/14/00 - JSF **/ +#include "filter.h" #include "types.h" 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 */, u8 *dstPtr, u32 dstPitch, int width, int height) {