[PATCH 1/3] include: Add d3dx11.h

Andrey Gusev andrey.goosev at gmail.com
Fri Jun 3 04:22:37 CDT 2016


-------------- next part --------------
From ba3a5d70036735803ff7bb0d7d11d5ad2a1cd117 Mon Sep 17 00:00:00 2001
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Fri, 3 Jun 2016 11:56:29 +0300
Subject: [PATCH 1/3] include: Add d3dx11.h

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 include/Makefile.in |  1 +
 include/d3dx11.h    | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 include/d3dx11.h

diff --git a/include/Makefile.in b/include/Makefile.in
index 250166d..921f55a 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -255,6 +255,7 @@ HEADER_SRCS = \
 	d3dx10.h \
 	d3dx10async.h \
 	d3dx10tex.h \
+	d3dx11.h \
 	d3dx9.h \
 	d3dx9anim.h \
 	d3dx9core.h \
diff --git a/include/d3dx11.h b/include/d3dx11.h
new file mode 100644
index 0000000..52191da
--- /dev/null
+++ b/include/d3dx11.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2016 Andrey Gusev
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __D3DX11_H__
+#define __D3DX11_H__
+
+#include <limits.h>
+#include <float.h>
+
+#define D3DX11_DEFAULT        (0xffffffffu)
+#define D3DX11_FROM_FILE      (0xfffffffdu)
+#define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT)0xfffffffdu)
+
+#include "d3d11.h"
+
+#endif
-- 
2.5.5



More information about the wine-patches mailing list