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
c28d6f38
Commit
c28d6f38
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 context_resource_released().
parent
834b599e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
context.c
dlls/wined3d/context.c
+2
-1
device.c
dlls/wined3d/device.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/context.c
View file @
c28d6f38
...
...
@@ -689,7 +689,8 @@ static void context_queue_fbo_entry_destruction(struct wined3d_context *context,
list_add_head
(
&
context
->
fbo_destroy_list
,
&
entry
->
entry
);
}
void
context_resource_released
(
IWineD3DDeviceImpl
*
device
,
IWineD3DResource
*
resource
,
WINED3DRESOURCETYPE
type
)
void
context_resource_released
(
struct
IWineD3DDeviceImpl
*
device
,
struct
IWineD3DResourceImpl
*
resource
,
WINED3DRESOURCETYPE
type
)
{
if
(
!
device
->
d3d_initialized
)
return
;
...
...
dlls/wined3d/device.c
View file @
c28d6f38
...
...
@@ -6609,7 +6609,7 @@ void device_resource_released(struct IWineD3DDeviceImpl *device, struct IWineD3D
TRACE
(
"device %p, resource %p, type %s.
\n
"
,
device
,
resource
,
debug_d3dresourcetype
(
type
));
context_resource_released
(
device
,
(
IWineD3DResource
*
)
resource
,
type
);
context_resource_released
(
device
,
resource
,
type
);
switch
(
type
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
c28d6f38
...
...
@@ -1228,8 +1228,8 @@ void context_free_occlusion_query(struct wined3d_occlusion_query *query) DECLSPE
struct
wined3d_context
*
context_get_current
(
void
)
DECLSPEC_HIDDEN
;
DWORD
context_get_tls_idx
(
void
)
DECLSPEC_HIDDEN
;
void
context_release
(
struct
wined3d_context
*
context
)
DECLSPEC_HIDDEN
;
void
context_resource_released
(
IWineD3DDeviceImpl
*
device
,
IWineD3DResource
*
resource
,
WINED3DRESOURCETYPE
type
)
DECLSPEC_HIDDEN
;
void
context_resource_released
(
struct
IWineD3DDeviceImpl
*
device
,
struct
IWineD3DResourceImpl
*
resource
,
WINED3DRESOURCETYPE
type
)
DECLSPEC_HIDDEN
;
void
context_resource_unloaded
(
IWineD3DDeviceImpl
*
device
,
IWineD3DResource
*
resource
,
WINED3DRESOURCETYPE
type
)
DECLSPEC_HIDDEN
;
BOOL
context_set_current
(
struct
wined3d_context
*
ctx
)
DECLSPEC_HIDDEN
;
...
...
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