]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texmanip.h
GTK: wrap gtk_widget_set_size_request
[xonotic/netradiant.git] / radiant / texmanip.h
index 45b6a7eb89b980f8a0b1c0e6d54006002aabdb44..34434141604231b0a1ed43ec73071f4ab41dadce 100644 (file)
    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