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
2ad540ce
Commit
2ad540ce
authored
Jan 16, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DResourceImpl pointer to device_resource_remove().
parent
9f8d0088
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/wined3d/device.c
+4
-4
No files found.
dlls/wined3d/device.c
View file @
2ad540ce
...
...
@@ -6604,11 +6604,11 @@ void device_resource_add(IWineD3DDeviceImpl *This, IWineD3DResource *resource)
list_add_head
(
&
This
->
resources
,
&
((
IWineD3DResourceImpl
*
)
resource
)
->
resource
.
resource_list_entry
);
}
static
void
device_resource_remove
(
IWineD3DDeviceImpl
*
This
,
IWineD3DResource
*
resource
)
static
void
device_resource_remove
(
struct
IWineD3DDeviceImpl
*
device
,
struct
IWineD3DResourceImpl
*
resource
)
{
TRACE
(
"
(%p) : Removing resource %p
\n
"
,
This
,
resource
);
TRACE
(
"
device %p, resource %p.
\n
"
,
device
,
resource
);
list_remove
(
&
((
IWineD3DResourceImpl
*
)
resource
)
->
resource
.
resource_list_entry
);
list_remove
(
&
resource
->
resource
.
resource_list_entry
);
}
void
device_resource_released
(
IWineD3DDeviceImpl
*
device
,
IWineD3DResource
*
resource
)
...
...
@@ -6705,7 +6705,7 @@ void device_resource_released(IWineD3DDeviceImpl *device, IWineD3DResource *reso
}
/* Remove the resource from the resourceStore */
device_resource_remove
(
device
,
resource
);
device_resource_remove
(
device
,
(
IWineD3DResourceImpl
*
)
resource
);
TRACE
(
"Resource released.
\n
"
);
}
...
...
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