include: Add d3dx10.h file (try 2)

Andrey Gusev andrey.goosev at gmail.com
Sat Oct 31 07:28:32 CDT 2015


Supersedes 115734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151031/69f1ecdb/attachment.html>
-------------- next part --------------
From 032cd9e9dcf73cbabece610a5910666e2197c811 Mon Sep 17 00:00:00 2001
Message-Id: <032cd9e9dcf73cbabece610a5910666e2197c811.1446294355.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Sat, 31 Oct 2015 14:25:35 +0200
Subject: [PATCH] include: Add d3dx10.h file (try 2)

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 3836af2..d465fa4 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -232,6 +232,7 @@ SRCDIR_INCLUDES = \
 	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..60134ca
--- /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        (~0)
+#define D3DX10_FROM_FILE      (~2)
+#define DXGI_FORMAT_FROM_FILE ((DXGI_FORMAT)~2)
+
+#include "d3d10.h"
+#include "d3dx10core.h"
+
+#endif
-- 
2.4.3



More information about the wine-patches mailing list