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
674b1e92
Commit
674b1e92
authored
Sep 13, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Avoid LPVOID.
parent
e55e24a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
d3d9_main.c
dlls/d3d9/d3d9_main.c
+3
-5
d3d9ex.c
dlls/d3d9/tests/d3d9ex.c
+4
-2
visual.c
dlls/d3d9/tests/visual.c
+1
-1
No files found.
dlls/d3d9/d3d9_main.c
View file @
674b1e92
...
...
@@ -93,12 +93,10 @@ void* WINAPI Direct3DShaderValidatorCreate9(void)
/*******************************************************************
* DllMain
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
void
*
reserved
)
{
/* At process attach */
TRACE
(
"fdwReason=%d
\n
"
,
fdwReason
);
if
(
fdwReason
==
DLL_PROCESS_ATTACH
)
DisableThreadLibraryCalls
(
hInstDLL
);
if
(
reason
==
DLL_PROCESS_ATTACH
)
DisableThreadLibraryCalls
(
inst
);
return
TRUE
;
}
...
...
dlls/d3d9/tests/d3d9ex.c
View file @
674b1e92
...
...
@@ -30,8 +30,10 @@
static
HMODULE
d3d9_handle
=
0
;
static
BOOL
(
WINAPI
*
pEnumDisplaySettingsExA
)(
LPCSTR
,
DWORD
,
DEVMODEA
*
,
DWORD
);
static
LONG
(
WINAPI
*
pChangeDisplaySettingsExA
)(
LPCSTR
,
LPDEVMODE
,
HWND
,
DWORD
,
LPVOID
);
static
BOOL
(
WINAPI
*
pEnumDisplaySettingsExA
)(
const
char
*
device_name
,
DWORD
mode_idx
,
DEVMODEA
*
mode
,
DWORD
flags
);
static
LONG
(
WINAPI
*
pChangeDisplaySettingsExA
)(
const
char
*
device_name
,
DEVMODEA
*
mode
,
HWND
window
,
DWORD
flags
,
void
*
param
);
static
IDirect3D9
*
(
WINAPI
*
pDirect3DCreate9
)(
UINT
SDKVersion
);
static
HRESULT
(
WINAPI
*
pDirect3DCreate9Ex
)(
UINT
SDKVersion
,
IDirect3D9Ex
**
d3d9ex
);
...
...
dlls/d3d9/tests/visual.c
View file @
674b1e92
...
...
@@ -7268,7 +7268,7 @@ static void shademode_test(IDirect3DDevice9 *device)
DWORD
color0_gouraud
=
0
,
color1_gouraud
=
0
;
DWORD
shademode
=
D3DSHADE_FLAT
;
DWORD
primtype
=
D3DPT_TRIANGLESTRIP
;
LPVOID
data
=
NULL
;
void
*
data
=
NULL
;
UINT
i
,
j
;
struct
vertex
quad_strip
[]
=
{
...
...
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