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
2ceb2a8c
Commit
2ceb2a8c
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 context_resource_unloaded().
parent
e98a0e5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
context.c
dlls/wined3d/context.c
+2
-1
resource.c
dlls/wined3d/resource.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/context.c
View file @
2ceb2a8c
...
...
@@ -711,7 +711,8 @@ static void context_detach_fbo_entry(struct wined3d_context *context, struct fbo
entry
->
attached
=
FALSE
;
}
void
context_resource_unloaded
(
IWineD3DDeviceImpl
*
device
,
IWineD3DResource
*
resource
,
WINED3DRESOURCETYPE
type
)
void
context_resource_unloaded
(
struct
IWineD3DDeviceImpl
*
device
,
struct
IWineD3DResourceImpl
*
resource
,
WINED3DRESOURCETYPE
type
)
{
switch
(
type
)
{
...
...
dlls/wined3d/resource.c
View file @
2ceb2a8c
...
...
@@ -125,8 +125,8 @@ void resource_cleanup(struct IWineD3DResourceImpl *resource)
void
resource_unload
(
IWineD3DResourceImpl
*
resource
)
{
context_resource_unloaded
(
resource
->
resource
.
device
,
(
IWineD3DResource
*
)
resource
,
resource
->
resource
.
resourceType
);
context_resource_unloaded
(
resource
->
resource
.
device
,
resource
,
resource
->
resource
.
resourceType
);
}
static
struct
private_data
*
resource_find_private_data
(
IWineD3DResourceImpl
*
This
,
REFGUID
tag
)
...
...
dlls/wined3d/wined3d_private.h
View file @
2ceb2a8c
...
...
@@ -1230,8 +1230,8 @@ DWORD context_get_tls_idx(void) DECLSPEC_HIDDEN;
void
context_release
(
struct
wined3d_context
*
context
)
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
;
void
context_resource_unloaded
(
struct
IWineD3DDeviceImpl
*
device
,
struct
IWineD3DResourceImpl
*
resource
,
WINED3DRESOURCETYPE
type
)
DECLSPEC_HIDDEN
;
BOOL
context_set_current
(
struct
wined3d_context
*
ctx
)
DECLSPEC_HIDDEN
;
void
context_set_draw_buffer
(
struct
wined3d_context
*
context
,
GLenum
buffer
)
DECLSPEC_HIDDEN
;
void
context_set_tls_idx
(
DWORD
idx
)
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