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
8534e08a
Commit
8534e08a
authored
Sep 30, 2002
by
Christian Costa
Committed by
Alexandre Julliard
Sep 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement SwapTextureHandles method.
parent
ba06042e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
main.c
dlls/ddraw/d3ddevice/main.c
+13
-3
No files found.
dlls/ddraw/d3ddevice/main.c
View file @
8534e08a
...
...
@@ -81,10 +81,15 @@ HRESULT WINAPI IDirect3DDevice2Impl_GetCaps(
HRESULT
WINAPI
IDirect3DDevice2Impl_SwapTextureHandles
(
LPDIRECT3DDEVICE2
iface
,
LPDIRECT3DTEXTURE2
lp
tex1
,
LPDIRECT3DTEXTURE2
lpt
ex2
LPDIRECT3DDEVICE2
iface
,
LPDIRECT3DTEXTURE2
lp
D3DTex1
,
LPDIRECT3DTEXTURE2
lpD3DT
ex2
)
{
ICOM_THIS
(
IDirect3DDevice2Impl
,
iface
);
FIXME
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
lptex1
,
lptex2
);
IDirect3DTexture2Impl
tmp
;
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
lpD3DTex1
,
lpD3DTex2
);
tmp
=
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex1
;
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex1
=
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex2
;
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex2
=
tmp
;
return
DD_OK
;
}
...
...
@@ -471,7 +476,12 @@ HRESULT WINAPI IDirect3DDeviceImpl_SwapTextureHandles(
LPDIRECT3DTEXTURE
lpD3DTex2
)
{
ICOM_THIS
(
IDirect3DDeviceImpl
,
iface
);
TRACE
(
"(%p)->(%p,%p): stub
\n
"
,
This
,
lpD3DTex1
,
lpD3DTex2
);
IDirect3DTexture2Impl
tmp
;
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
lpD3DTex1
,
lpD3DTex2
);
tmp
=
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex1
;
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex1
=
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex2
;
*
(
IDirect3DTexture2Impl
*
)
lpD3DTex2
=
tmp
;
return
DD_OK
;
}
...
...
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