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
1fa7fea8
Commit
1fa7fea8
authored
Jan 26, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement ID3D10Texture2D::GetDesc().
parent
e5abaf9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+1
-0
device.c
dlls/d3d10core/device.c
+1
-0
texture2d.c
dlls/d3d10core/texture2d.c
+5
-1
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
1fa7fea8
...
...
@@ -60,6 +60,7 @@ struct d3d10_texture2d
IUnknown
*
dxgi_surface
;
IWineD3DSurface
*
wined3d_surface
;
D3D10_TEXTURE2D_DESC
desc
;
};
/* ID3D10Buffer */
...
...
dlls/d3d10core/device.c
View file @
1fa7fea8
...
...
@@ -604,6 +604,7 @@ static HRESULT STDMETHODCALLTYPE d3d10_device_CreateTexture2D(ID3D10Device *ifac
object
->
vtbl
=
&
d3d10_texture2d_vtbl
;
object
->
refcount
=
1
;
object
->
desc
=
*
desc
;
if
(
desc
->
MipLevels
==
1
&&
desc
->
ArraySize
==
1
)
{
...
...
dlls/d3d10core/texture2d.c
View file @
1fa7fea8
...
...
@@ -152,7 +152,11 @@ static void STDMETHODCALLTYPE d3d10_texture2d_Unmap(ID3D10Texture2D *iface, UINT
static
void
STDMETHODCALLTYPE
d3d10_texture2d_GetDesc
(
ID3D10Texture2D
*
iface
,
D3D10_TEXTURE2D_DESC
*
desc
)
{
FIXME
(
"iface %p, desc %p stub!
\n
"
,
iface
,
desc
);
struct
d3d10_texture2d
*
This
=
(
struct
d3d10_texture2d
*
)
iface
;
TRACE
(
"iface %p, desc %p
\n
"
,
iface
,
desc
);
*
desc
=
This
->
desc
;
}
const
struct
ID3D10Texture2DVtbl
d3d10_texture2d_vtbl
=
...
...
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