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
1d475561
Commit
1d475561
authored
Mar 28, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use WINED3DSWAPEFFECT in the wined3d headers and code.
parent
d75fd75d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
device.c
dlls/d3d8/device.c
+2
-2
directx.c
dlls/d3d8/directx.c
+1
-1
device.c
dlls/d3d9/device.c
+1
-1
directx.c
dlls/d3d9/directx.c
+1
-1
swapchain.c
dlls/d3d9/swapchain.c
+2
-2
swapchain.c
dlls/wined3d/swapchain.c
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+1
-1
No files found.
dlls/d3d8/device.c
View file @
1d475561
...
...
@@ -197,7 +197,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE8
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
NULL
;
/* d3d9 only */
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
@@ -230,7 +230,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_Reset(LPDIRECT3DDEVICE8 iface, D3DPRESENT_PA
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
NULL
;
/* D3d9 only */
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
dlls/d3d8/directx.c
View file @
1d475561
...
...
@@ -314,7 +314,7 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice(LPDIRECT3D8 iface, UINT Adapter, D3
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
/* d3d9 only */
localParameters
.
MultiSampleQuality
=
NULL
;
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
dlls/d3d9/device.c
View file @
1d475561
...
...
@@ -172,7 +172,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_Reset(LPDIRECT3DDEVICE9 iface, D3DPRESENT_
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
&
pPresentationParameters
->
MultiSampleQuality
;
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
dlls/d3d9/directx.c
View file @
1d475561
...
...
@@ -298,7 +298,7 @@ HRESULT WINAPI IDirect3D9Impl_CreateDevice(LPDIRECT3D9 iface, UINT Adapter, D3
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
&
pPresentationParameters
->
MultiSampleQuality
;
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
dlls/d3d9/swapchain.c
View file @
1d475561
...
...
@@ -128,7 +128,7 @@ HRESULT WINAPI IDirect3DSwapChain9Impl_GetPresentParameters(LPDIRECT3DSWAPCHAIN9
winePresentParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
winePresentParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
winePresentParameters
.
MultiSampleQuality
=
&
pPresentationParameters
->
MultiSampleQuality
;
winePresentParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
winePresentParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
winePresentParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
winePresentParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
winePresentParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
@@ -178,7 +178,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
localParameters
.
BackBufferCount
=
&
pPresentationParameters
->
BackBufferCount
;
localParameters
.
MultiSampleType
=
(
WINED3DMULTISAMPLE_TYPE
*
)
&
pPresentationParameters
->
MultiSampleType
;
localParameters
.
MultiSampleQuality
=
&
pPresentationParameters
->
MultiSampleQuality
;
localParameters
.
SwapEffect
=
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
SwapEffect
=
(
WINED3DSWAPEFFECT
*
)
&
pPresentationParameters
->
SwapEffect
;
localParameters
.
hDeviceWindow
=
&
pPresentationParameters
->
hDeviceWindow
;
localParameters
.
Windowed
=
&
pPresentationParameters
->
Windowed
;
localParameters
.
EnableAutoDepthStencil
=
&
pPresentationParameters
->
EnableAutoDepthStencil
;
...
...
dlls/wined3d/swapchain.c
View file @
1d475561
...
...
@@ -314,7 +314,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_Present(IWineD3DSwapChain *iface, CONST REC
LEAVE_GL
();
/* Although this is not strictly required, a simple demo showed this does occur
on (at least non-debug) d3d */
if
(
This
->
presentParms
.
SwapEffect
&
D3DSWAPEFFECT_DISCARD
)
{
if
(
This
->
presentParms
.
SwapEffect
&
WINE
D3DSWAPEFFECT_DISCARD
)
{
TRACE
(
"Clearing
\n
"
);
...
...
include/wine/wined3d_types.h
View file @
1d475561
...
...
@@ -479,7 +479,7 @@ typedef struct _WINED3DPRESENT_PARAMETERS {
UINT
*
BackBufferCount
;
WINED3DMULTISAMPLE_TYPE
*
MultiSampleType
;
DWORD
*
MultiSampleQuality
;
D3DSWAPEFFECT
*
SwapEffect
;
WINED3DSWAPEFFECT
*
SwapEffect
;
HWND
*
hDeviceWindow
;
BOOL
*
Windowed
;
BOOL
*
EnableAutoDepthStencil
;
...
...
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