From ddf84783119623507f544a2042aaeddb6b705104 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Thu, 16 Jun 2016 00:00:48 +0200 Subject: [PATCH] include: Add D3DX10_FILTER_FLAG type declaration. Signed-off-by: Andrey Gusev Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- include/d3dx10tex.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/include/d3dx10tex.h b/include/d3dx10tex.h index d44edf2841c..9142c825122 100644 --- a/include/d3dx10tex.h +++ b/include/d3dx10tex.h @@ -19,6 +19,27 @@ #ifndef __D3DX10TEX_H__ #define __D3DX10TEX_H__ +typedef enum D3DX10_FILTER_FLAG +{ + D3DX10_FILTER_NONE = 0x00000001, + D3DX10_FILTER_POINT = 0x00000002, + D3DX10_FILTER_LINEAR = 0x00000003, + D3DX10_FILTER_TRIANGLE = 0x00000004, + D3DX10_FILTER_BOX = 0x00000005, + + D3DX10_FILTER_MIRROR_U = 0x00010000, + D3DX10_FILTER_MIRROR_V = 0x00020000, + D3DX10_FILTER_MIRROR_W = 0x00040000, + D3DX10_FILTER_MIRROR = 0x00070000, + + D3DX10_FILTER_DITHER = 0x00080000, + D3DX10_FILTER_DITHER_DIFFUSION = 0x00100000, + + D3DX10_FILTER_SRGB_IN = 0x00200000, + D3DX10_FILTER_SRGB_OUT = 0x00400000, + D3DX10_FILTER_SRGB = 0x00600000, +} D3DX10_FILTER_FLAG; + typedef enum D3DX10_IMAGE_FILE_FORMAT { D3DX10_IFF_BMP = 0,