Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0fee3fc4
Commit
0fee3fc4
authored
Feb 22, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx11: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
174bfbc1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
15 deletions
+2
-15
Makefile.in
dlls/d3dx11_42/Makefile.in
+1
-1
Makefile.in
dlls/d3dx11_43/Makefile.in
+1
-1
main.c
dlls/d3dx11_43/main.c
+0
-13
No files found.
dlls/d3dx11_42/Makefile.in
View file @
0fee3fc4
...
...
@@ -3,7 +3,7 @@ MODULE = d3dx11_42.dll
IMPORTS
=
d3dcompiler
PARENTSRC
=
../d3dx11_43
EXTRADLLFLAGS
=
-mno-cygwin
EXTRADLLFLAGS
=
-mno-cygwin
-Wb
,--prefer-native
C_SRCS
=
\
async.c
\
...
...
dlls/d3dx11_43/Makefile.in
View file @
0fee3fc4
...
...
@@ -3,7 +3,7 @@ MODULE = d3dx11_43.dll
IMPORTLIB
=
d3dx11
IMPORTS
=
d3dcompiler
EXTRADLLFLAGS
=
-mno-cygwin
EXTRADLLFLAGS
=
-mno-cygwin
-Wb
,--prefer-native
C_SRCS
=
\
async.c
\
...
...
dlls/d3dx11_43/main.c
View file @
0fee3fc4
...
...
@@ -33,19 +33,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
BOOL
WINAPI
DllMain
(
HINSTANCE
hdll
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hdll
);
}
return
TRUE
;
}
BOOL
WINAPI
D3DX11CheckVersion
(
UINT
d3d_sdk_ver
,
UINT
d3dx_sdk_ver
)
{
return
d3d_sdk_ver
==
D3D11_SDK_VERSION
&&
d3dx_sdk_ver
==
D3DX11_SDK_VERSION
;
...
...
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