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
9240bc3f
Commit
9240bc3f
authored
Oct 07, 2002
by
Jason Edmeades
Committed by
Alexandre Julliard
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various fixes, typos corrected and clarifying trace points.
parent
dcb44969
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
d3d8_private.h
dlls/d3d8/d3d8_private.h
+2
-1
device.c
dlls/d3d8/device.c
+0
-0
directx.c
dlls/d3d8/directx.c
+7
-0
surface.c
dlls/d3d8/surface.c
+9
-0
No files found.
dlls/d3d8/d3d8_private.h
View file @
9240bc3f
...
...
@@ -286,7 +286,8 @@ struct IDirect3DDevice8Impl
/* IDirect3DDevice8 fields */
IDirect3D8Impl
*
direct3d8
;
IDirect3DSurface8Impl
*
backBuffer
;
D3DPRESENT_PARAMETERS
PresentParms
;
D3DPRESENT_PARAMETERS
PresentParms
;
D3DDEVICE_CREATION_PARAMETERS
CreateParms
;
UINT
adapterNo
;
D3DDEVTYPE
devType
;
...
...
dlls/d3d8/device.c
View file @
9240bc3f
This diff is collapsed.
Click to expand it.
dlls/d3d8/directx.c
View file @
9240bc3f
...
...
@@ -398,6 +398,13 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice (LPDIRECT3D8 iface,
object
->
ref
=
1
;
object
->
direct3d8
=
This
;
object
->
UpdateStateBlock
=
&
object
->
StateBlock
;
/* Save the creation parameters */
object
->
CreateParms
.
AdapterOrdinal
=
Adapter
;
object
->
CreateParms
.
DeviceType
=
DeviceType
;
object
->
CreateParms
.
hFocusWindow
=
hFocusWindow
;
object
->
CreateParms
.
BehaviorFlags
=
BehaviourFlags
;
CreateStateBlock
((
LPDIRECT3DDEVICE8
)
object
);
*
ppReturnedDeviceInterface
=
(
LPDIRECT3DDEVICE8
)
object
;
...
...
dlls/d3d8/surface.c
View file @
9240bc3f
...
...
@@ -66,6 +66,11 @@ HRESULT WINAPI IDirect3DSurface8Impl_GetDevice(LPDIRECT3DSURFACE8 iface, IDirect
ICOM_THIS
(
IDirect3DSurface8Impl
,
iface
);
TRACE
(
"(%p) : returning %p
\n
"
,
This
,
This
->
Device
);
*
ppDevice
=
(
LPDIRECT3DDEVICE8
)
This
->
Device
;
/* Note Calling this method will increase the internal reference count
on the IDirect3DDevice8 interface. */
IDirect3DDevice8Impl_AddRef
(
*
ppDevice
);
return
D3D_OK
;
}
HRESULT
WINAPI
IDirect3DSurface8Impl_SetPrivateData
(
LPDIRECT3DSURFACE8
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
...
...
@@ -82,6 +87,10 @@ HRESULT WINAPI IDirect3DSurface8Impl_FreePrivateData(LPDIRECT3DSURFACE8 iface, R
}
HRESULT
WINAPI
IDirect3DSurface8Impl_GetContainer
(
LPDIRECT3DSURFACE8
iface
,
REFIID
riid
,
void
**
ppContainer
)
{
ICOM_THIS
(
IDirect3DSurface8Impl
,
iface
);
/* If the surface is created using CreateImageSurface, CreateRenderTarget,
or CreateDepthStencilSurface, the surface is considered stand alone. In this case,
GetContainer will return the Direct3D device used to create the surface. */
TRACE
(
"(%p) : returning %p
\n
"
,
This
,
This
->
Container
);
*
ppContainer
=
This
->
Container
;
return
D3D_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