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
aad1997d
Commit
aad1997d
authored
Oct 22, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove texture locations after downloading all subresources.
parent
6334bf09
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
surface.c
dlls/wined3d/surface.c
+0
-1
texture.c
dlls/wined3d/texture.c
+1
-0
volume.c
dlls/wined3d/volume.c
+0
-1
No files found.
dlls/wined3d/surface.c
View file @
aad1997d
...
@@ -1207,7 +1207,6 @@ static void surface_unload(struct wined3d_resource *resource)
...
@@ -1207,7 +1207,6 @@ static void surface_unload(struct wined3d_resource *resource)
surface_load_location
(
surface
,
surface
->
resource
.
map_binding
);
surface_load_location
(
surface
,
surface
->
resource
.
map_binding
);
surface_invalidate_location
(
surface
,
~
surface
->
resource
.
map_binding
);
surface_invalidate_location
(
surface
,
~
surface
->
resource
.
map_binding
);
}
}
wined3d_texture_force_reload
(
surface
->
container
);
context
=
context_acquire
(
device
,
NULL
);
context
=
context_acquire
(
device
,
NULL
);
gl_info
=
context
->
gl_info
;
gl_info
=
context
->
gl_info
;
...
...
dlls/wined3d/texture.c
View file @
aad1997d
...
@@ -979,6 +979,7 @@ static void wined3d_texture_unload(struct wined3d_resource *resource)
...
@@ -979,6 +979,7 @@ static void wined3d_texture_unload(struct wined3d_resource *resource)
sub_resource
->
resource_ops
->
resource_unload
(
sub_resource
);
sub_resource
->
resource_ops
->
resource_unload
(
sub_resource
);
}
}
wined3d_texture_force_reload
(
texture
);
wined3d_texture_unload_gl_texture
(
texture
);
wined3d_texture_unload_gl_texture
(
texture
);
}
}
...
...
dlls/wined3d/volume.c
View file @
aad1997d
...
@@ -451,7 +451,6 @@ static void volume_unload(struct wined3d_resource *resource)
...
@@ -451,7 +451,6 @@ static void volume_unload(struct wined3d_resource *resource)
}
}
/* The texture name is managed by the container. */
/* The texture name is managed by the container. */
wined3d_texture_force_reload
(
volume
->
container
);
volume
->
flags
&=
~
WINED3D_VFLAG_CLIENT_STORAGE
;
volume
->
flags
&=
~
WINED3D_VFLAG_CLIENT_STORAGE
;
resource_unload
(
resource
);
resource_unload
(
resource
);
...
...
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