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
6f8c918d
Commit
6f8c918d
authored
Dec 03, 2020
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reference the bo in wined3d_texture_gl_download_data_slow_path().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
17e51124
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
texture.c
dlls/wined3d/texture.c
+2
-1
No files found.
dlls/wined3d/texture.c
View file @
6f8c918d
...
...
@@ -2501,7 +2501,7 @@ static void wined3d_texture_gl_upload_data(struct wined3d_context *context,
static
void
wined3d_texture_gl_download_data_slow_path
(
struct
wined3d_texture_gl
*
texture_gl
,
unsigned
int
sub_resource_idx
,
struct
wined3d_context_gl
*
context_gl
,
const
struct
wined3d_bo_address
*
data
)
{
const
struct
wined3d_bo_gl
*
bo
=
(
const
struct
wined3d_bo_gl
*
)
data
->
buffer_object
;
struct
wined3d_bo_gl
*
bo
=
(
struct
wined3d_bo_gl
*
)
data
->
buffer_object
;
const
struct
wined3d_gl_info
*
gl_info
=
context_gl
->
gl_info
;
struct
wined3d_texture_sub_resource
*
sub_resource
;
unsigned
int
dst_row_pitch
,
dst_slice_pitch
;
...
...
@@ -2721,6 +2721,7 @@ static void wined3d_texture_gl_download_data_slow_path(struct wined3d_texture_gl
if
(
bo
)
{
GL_EXTCALL
(
glBindBuffer
(
GL_PIXEL_PACK_BUFFER
,
0
));
wined3d_context_gl_reference_bo
(
context_gl
,
bo
);
checkGLcall
(
"glBindBuffer"
);
}
...
...
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