Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b3ae4f79
Commit
b3ae4f79
authored
Mar 09, 2023
by
Fan WenJie
Committed by
Alexandre Julliard
Mar 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Fix missing conversion of glUnmapNamedBuffer_params from 32bit to 64bit.
Signed-off-by:
Fan WenJie
<
fanwj@mail.ustc.edu.cn
>
parent
60ce80e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
unix_wgl.c
dlls/opengl32/unix_wgl.c
+11
-5
No files found.
dlls/opengl32/unix_wgl.c
View file @
b3ae4f79
...
...
@@ -2080,14 +2080,20 @@ static NTSTATUS wow64_gl_unmap_named_buffer( void *args, NTSTATUS (*gl_unmap_nam
GLint
buffer
;
GLboolean
ret
;
}
*
params32
=
args
;
struct
glUnmapNamedBuffer_params
params
=
{
.
teb
=
get_teb64
(
params32
->
teb
),
.
buffer
=
params32
->
buffer
,
.
ret
=
TRUE
,
};
NTSTATUS
status
;
TEB
*
teb
=
get_teb64
(
params32
->
teb
);
if
(
!
(
ptr
=
get_named_buffer_pointer
(
teb
,
params32
->
buffer
)))
return
STATUS_SUCCESS
;
if
(
!
(
ptr
=
get_named_buffer_pointer
(
params
.
teb
,
params
.
buffer
)))
return
STATUS_SUCCESS
;
status
=
wow64_unmap_buffer
(
ptr
,
get_named_buffer_param
(
teb
,
params32
->
buffer
,
GL_BUFFER_MAP_LENGTH
),
get_named_buffer_param
(
teb
,
params32
->
buffer
,
GL_BUFFER_ACCESS_FLAGS
)
);
gl_unmap_named_buffer64
(
args
);
status
=
wow64_unmap_buffer
(
ptr
,
get_named_buffer_param
(
params
.
teb
,
params
.
buffer
,
GL_BUFFER_MAP_LENGTH
),
get_named_buffer_param
(
params
.
teb
,
params
.
buffer
,
GL_BUFFER_ACCESS_FLAGS
)
);
gl_unmap_named_buffer64
(
&
params
);
params32
->
ret
=
params
.
ret
;
return
status
;
}
...
...
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