Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9fb5745a
Commit
9fb5745a
authored
May 30, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f277b969
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
52 additions
and
54 deletions
+52
-54
Makefile.in
dlls/d3dx9_24/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_25/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_26/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_27/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_28/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_29/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_30/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_31/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_32/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_33/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_34/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_35/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_36/Makefile.in
+2
-0
animation.c
dlls/d3dx9_36/animation.c
+0
-2
core.c
dlls/d3dx9_36/core.c
+0
-2
effect.c
dlls/d3dx9_36/effect.c
+0
-2
font.c
dlls/d3dx9_36/font.c
+1
-4
line.c
dlls/d3dx9_36/line.c
+0
-2
main.c
dlls/d3dx9_36/main.c
+0
-2
math.c
dlls/d3dx9_36/math.c
+2
-2
mesh.c
dlls/d3dx9_36/mesh.c
+6
-12
preshader.c
dlls/d3dx9_36/preshader.c
+1
-6
render.c
dlls/d3dx9_36/render.c
+0
-2
shader.c
dlls/d3dx9_36/shader.c
+0
-2
skin.c
dlls/d3dx9_36/skin.c
+0
-2
sprite.c
dlls/d3dx9_36/sprite.c
+0
-2
surface.c
dlls/d3dx9_36/surface.c
+0
-2
math.c
dlls/d3dx9_36/tests/math.c
+2
-2
texture.c
dlls/d3dx9_36/texture.c
+0
-2
util.c
dlls/d3dx9_36/util.c
+0
-2
volume.c
dlls/d3dx9_36/volume.c
+0
-2
xfile.c
dlls/d3dx9_36/xfile.c
+0
-2
Makefile.in
dlls/d3dx9_37/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_38/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_39/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_40/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_41/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_42/Makefile.in
+2
-0
Makefile.in
dlls/d3dx9_43/Makefile.in
+2
-0
No files found.
dlls/d3dx9_24/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_25/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_26/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_27/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_28/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_29/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_30/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_31/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_32/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_33/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_34/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_35/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_36/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTLIB = d3dx9
IMPORTS
=
d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_36/animation.c
View file @
9fb5745a
...
...
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/core.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/effect.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <assert.h>
...
...
dlls/d3dx9_36/font.c
View file @
9fb5745a
...
...
@@ -17,11 +17,8 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
...
...
@@ -266,7 +263,7 @@ HRESULT WINAPI D3DXCreateFontW(IDirect3DDevice9 *device, INT height, UINT width,
desc
.
OutputPrecision
=
precision
;
desc
.
Quality
=
quality
;
desc
.
PitchAndFamily
=
pitchandfamily
;
if
(
facename
!=
NULL
)
strcpyW
(
desc
.
FaceName
,
facename
);
if
(
facename
!=
NULL
)
l
strcpyW
(
desc
.
FaceName
,
facename
);
else
desc
.
FaceName
[
0
]
=
'\0'
;
return
D3DXCreateFontIndirectW
(
device
,
&
desc
,
font
);
...
...
dlls/d3dx9_36/line.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/main.c
View file @
9fb5745a
...
...
@@ -20,8 +20,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "initguid.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/math.c
View file @
9fb5745a
...
...
@@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include
"wine/port.h"
#include
<float.h>
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/mesh.c
View file @
9fb5745a
...
...
@@ -24,20 +24,15 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include <float.h>
#include "d3dx9_private.h"
#undef MAKE_DDHRESULT
#include "dxfile.h"
#include "rmxfguid.h"
#include "rmxftmpl.h"
#include "wine/unicode.h"
#include "wine/list.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
...
...
@@ -1590,10 +1585,10 @@ static void fill_attribute_table(DWORD *attrib_buffer, DWORD numfaces, void *ind
attrib_table_size
++
;
}
static
int
attrib_entry_compare
(
const
DWORD
**
a
,
const
DWORD
*
*
b
)
static
int
attrib_entry_compare
(
const
void
*
a
,
const
void
*
b
)
{
const
DWORD
*
ptr_a
=
*
a
;
const
DWORD
*
ptr_b
=
*
b
;
const
DWORD
*
ptr_a
=
*
(
const
DWORD
**
)
a
;
const
DWORD
*
ptr_b
=
*
(
const
DWORD
**
)
b
;
int
delta
=
*
ptr_a
-
*
ptr_b
;
if
(
delta
)
...
...
@@ -1623,8 +1618,7 @@ static HRESULT remap_faces_for_attrsort(struct d3dx9_mesh *This, const DWORD *in
for
(
i
=
0
;
i
<
This
->
numfaces
;
i
++
)
sorted_attrib_ptr_buffer
[
i
]
=
&
attrib_buffer
[
i
];
qsort
(
sorted_attrib_ptr_buffer
,
This
->
numfaces
,
sizeof
(
*
sorted_attrib_ptr_buffer
),
(
int
(
*
)(
const
void
*
,
const
void
*
))
attrib_entry_compare
);
qsort
(
sorted_attrib_ptr_buffer
,
This
->
numfaces
,
sizeof
(
*
sorted_attrib_ptr_buffer
),
attrib_entry_compare
);
for
(
i
=
0
;
i
<
This
->
numfaces
;
i
++
)
{
...
...
@@ -6157,7 +6151,7 @@ HRESULT WINAPI D3DXCreateTextW(struct IDirect3DDevice9 *device, HDC hdc, const W
}
oldfont
=
SelectObject
(
hdc
,
font
);
textlen
=
strlenW
(
text
);
textlen
=
l
strlenW
(
text
);
for
(
i
=
0
;
i
<
textlen
;
i
++
)
{
int
datasize
=
GetGlyphOutlineW
(
hdc
,
text
[
i
],
GGO_NATIVE
,
&
gm
,
0
,
NULL
,
&
identity
);
...
...
dlls/d3dx9_36/preshader.c
View file @
9fb5745a
...
...
@@ -16,12 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
#include <float.h>
#include <math.h>
#include <assert.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
...
...
@@ -125,11 +124,7 @@ static double pres_log(double *args, int n)
if
(
v
==
0
.
0
)
return
0
.
0
;
else
#ifdef HAVE_LOG2
return
log2
(
v
);
#else
return
log
(
v
)
/
log
(
2
);
#endif
}
static
double
pres_asin
(
double
*
args
,
int
n
)
{
return
to_signed_nan
(
asin
(
args
[
0
]));}
static
double
pres_acos
(
double
*
args
,
int
n
)
{
return
to_signed_nan
(
acos
(
args
[
0
]));}
...
...
dlls/d3dx9_36/render.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/shader.c
View file @
9fb5745a
...
...
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
#include "d3dcommon.h"
...
...
dlls/d3dx9_36/skin.c
View file @
9fb5745a
...
...
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/sprite.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/surface.c
View file @
9fb5745a
...
...
@@ -18,8 +18,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/tests/math.c
View file @
9fb5745a
...
...
@@ -4046,7 +4046,7 @@ static void test_D3DXSHMultiply3(void)
D3DXSHMultiply3
(
c
,
c
,
b
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
expected_aliased
);
++
i
)
{
equal
=
compare_float
(
c
[
i
],
expected_aliased
[
i
],
3
2
);
equal
=
compare_float
(
c
[
i
],
expected_aliased
[
i
],
3
4
);
ok
(
equal
,
"Expected[%u] = %.8e, received = %.8e.
\n
"
,
i
,
expected_aliased
[
i
],
c
[
i
]);
}
}
...
...
@@ -4324,7 +4324,7 @@ static void test_D3DXSHRotateZ(void)
expected
=
(
i
+
1
.
0
f
)
*
(
i
+
1
.
0
f
);
else
expected
=
table
[
36
*
(
l
+
3
*
j
)
+
i
];
equal
=
compare_float
(
expected
,
out_temp
[
i
],
256
);
equal
=
compare_float
(
expected
,
out_temp
[
i
],
512
);
ok
(
equal
||
(
fabs
(
expected
)
<
2.0e-5
f
&&
fabs
(
out_temp
[
i
])
<
2.0e-5
f
),
"angle %.8e, order %u index %u, expected %.8e, received %.8e.
\n
"
,
angle
[
j
],
order
,
i
,
expected
,
out_temp
[
i
]);
...
...
dlls/d3dx9_36/texture.c
View file @
9fb5745a
...
...
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/util.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/volume.c
View file @
9fb5745a
...
...
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
...
...
dlls/d3dx9_36/xfile.c
View file @
9fb5745a
...
...
@@ -17,8 +17,6 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include "d3dx9_private.h"
#include "d3dx9xof.h"
...
...
dlls/d3dx9_37/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_38/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_39/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_40/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_41/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_42/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
dlls/d3dx9_43/Makefile.in
View file @
9fb5745a
...
...
@@ -4,6 +4,8 @@ IMPORTS = d3d9 d3dcompiler dxguid d3dxof ole32 gdi32 user32
PARENTSRC
=
../d3dx9_36
DELAYIMPORTS
=
windowscodecs
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
animation.c
\
core.c
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment