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
e42e5247
Commit
e42e5247
authored
Jan 17, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DResourceImpl pointer to wined3d_rendertarget_view_init().
parent
2ceb2a8c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
device.c
dlls/wined3d/device.c
+1
-1
view.c
dlls/wined3d/view.c
+3
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/device.c
View file @
e42e5247
...
...
@@ -1088,7 +1088,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateRendertargetView(IWineD3DDevice *
return
E_OUTOFMEMORY
;
}
wined3d_rendertarget_view_init
(
object
,
resource
,
parent
);
wined3d_rendertarget_view_init
(
object
,
(
IWineD3DResourceImpl
*
)
resource
,
parent
);
TRACE
(
"Created render target view %p.
\n
"
,
object
);
*
rendertarget_view
=
(
IWineD3DRendertargetView
*
)
object
;
...
...
dlls/wined3d/view.c
View file @
e42e5247
...
...
@@ -107,11 +107,11 @@ static const struct IWineD3DRendertargetViewVtbl wined3d_rendertarget_view_vtbl
};
void
wined3d_rendertarget_view_init
(
struct
wined3d_rendertarget_view
*
view
,
IWineD3DResource
*
resource
,
void
*
parent
)
struct
IWineD3DResourceImpl
*
resource
,
void
*
parent
)
{
view
->
vtbl
=
&
wined3d_rendertarget_view_vtbl
;
view
->
refcount
=
1
;
IWineD3DResource_AddRef
(
resource
);
view
->
resource
=
resource
;
IWineD3DResource_AddRef
(
(
IWineD3DResource
*
)
resource
);
view
->
resource
=
(
IWineD3DResource
*
)
resource
;
view
->
parent
=
parent
;
}
dlls/wined3d/wined3d_private.h
View file @
e42e5247
...
...
@@ -2574,7 +2574,7 @@ struct wined3d_rendertarget_view
};
void
wined3d_rendertarget_view_init
(
struct
wined3d_rendertarget_view
*
view
,
IWineD3DResource
*
resource
,
void
*
parent
)
DECLSPEC_HIDDEN
;
struct
IWineD3DResourceImpl
*
resource
,
void
*
parent
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
* IWineD3DSwapChainImpl implementation structure (extends IUnknown)
...
...
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