X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Ftexmanip.h;h=34434141604231b0a1ed43ec73071f4ab41dadce;hb=ce924360c77947709161dd05877bd079a0704b8f;hp=45b6a7eb89b980f8a0b1c0e6d54006002aabdb44;hpb=830125fad042fad35dc029b6eb57c8156ad7e176;p=xonotic%2Fnetradiant.git diff --git a/radiant/texmanip.h b/radiant/texmanip.h index 45b6a7eb..34434141 100644 --- a/radiant/texmanip.h +++ b/radiant/texmanip.h @@ -29,11 +29,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _TEXMANIP_H_ -#define _TEXMANIP_H_ +#if !defined( INCLUDED_TEXMANIP_H ) +#define INCLUDED_TEXMANIP_H -void R_ResampleTextureLerpLine( byte *in, byte *out, int inwidth, int outwidth, int bytesperpixel ); -void R_ResampleTexture( void *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight, int bytesperpixel ); +typedef unsigned char byte; + +void R_ResampleTexture( const void *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight, int bytesperpixel ); void GL_MipReduce( byte *in, byte *out, int width, int height, int destwidth, int destheight ); -#endif // _TEXMANIP_H_ +#endif