[PATCH 1/2] include: Add D3DX10_FILTER_FLAG type declaration

Andrey Gusev andrey.goosev at gmail.com
Tue Jun 14 17:05:24 CDT 2016


-------------- next part --------------
From 9bf756a708432afa71f2bc06e9950ca179a4ea5f Mon Sep 17 00:00:00 2001
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Wed, 15 Jun 2016 00:53:22 +0300
Subject: [PATCH 1/2] include: Add D3DX10_FILTER_FLAG type declaration

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 include/d3dx10tex.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/include/d3dx10tex.h b/include/d3dx10tex.h
index d44edf2..457464d 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,
-- 
2.5.5



More information about the wine-patches mailing list