include: Add d3dx10.h file (try 4)

Andrey Gusev andrey.goosev at gmail.com
Mon Nov 9 16:02:43 CST 2015


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151110/5c3b6584/attachment.html>
-------------- next part --------------
From f13fbd5afc94f4174072f225a457207b75cf8932 Mon Sep 17 00:00:00 2001
Message-Id: <f13fbd5afc94f4174072f225a457207b75cf8932.1447106443.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Tue, 10 Nov 2015 00:00:23 +0200
Subject: [PATCH] include: Add d3dx10.h file (try 4)

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

diff --git a/include/Makefile.in b/include/Makefile.in
index 299a095..27f0ef6 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -245,6 +245,7 @@ HEADER_SRCS = \
 	d3drmwin.h \
 	d3dtypes.h \
 	d3dvec.inl \
+	d3dx10.h \
 	d3dx9.h \
 	d3dx9anim.h \
 	d3dx9core.h \
diff --git a/include/d3dx10.h b/include/d3dx10.h
new file mode 100644
index 0000000..6333349
--- /dev/null
+++ b/include/d3dx10.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2015 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 __D3DX10_H__
+#define __D3DX10_H__
+
+#include <limits.h>
+#include <float.h>
+
+#define D3DX10_DEFAULT        (0xffffffffu)
+#define D3DX10_FROM_FILE      (0xfffffffdu)
+#define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT)0xfffffffdu)
+
+#include "d3d10.h"
+#include "d3dx10core.h"
+
+#endif
-- 
2.4.3



More information about the wine-patches mailing list