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
d7471269
Commit
d7471269
authored
Feb 15, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Set WINED3DPRESENT_PARAMETERS.MultiSampleQuality to a valid pointer.
parent
1f32d623
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
device.c
dlls/d3d8/device.c
+2
-1
No files found.
dlls/d3d8/device.c
View file @
d7471269
...
...
@@ -274,6 +274,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DD
static
HRESULT
WINAPI
IDirect3DDevice8Impl_Reset
(
LPDIRECT3DDEVICE8
iface
,
D3DPRESENT_PARAMETERS
*
pPresentationParameters
)
{
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
WINED3DPRESENT_PARAMETERS
localParameters
;
DWORD
dummy_dword
=
0
;
TRACE
(
"(%p) Relay pPresentationParameters(%p)
\n
"
,
This
,
pPresentationParameters
);
/* FINDME: FIXME: */
localParameters
.
BackBufferWidth
=
&
pPresentationParameters
->
BackBufferWidth
;
...
...
@@ -281,7 +282,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_Reset(LPDIRECT3DDEVICE8 iface, D3DPRE
localParameters
.
BackBufferFormat
=
(
WINED3DFORMAT
*
)
&
pPresentationParameters
->
BackBufferFormat
;
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
NULL
;
/* D3d9 only */
localParameters
.
MultiSampleQuality
=
&
dummy_dword
;
/* D3d9 only */
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
...
...
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