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
60ce80e6
Commit
60ce80e6
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 glUnmapBuffer_params from 32bit to 64bit.
Signed-off-by:
Fan WenJie
<
fanwj@mail.ustc.edu.cn
>
parent
61783105
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 @
60ce80e6
...
@@ -2043,14 +2043,20 @@ static NTSTATUS wow64_gl_unmap_buffer( void *args, NTSTATUS (*gl_unmap_buffer64)
...
@@ -2043,14 +2043,20 @@ static NTSTATUS wow64_gl_unmap_buffer( void *args, NTSTATUS (*gl_unmap_buffer64)
GLenum
target
;
GLenum
target
;
GLboolean
ret
;
GLboolean
ret
;
}
*
params32
=
args
;
}
*
params32
=
args
;
struct
glUnmapBuffer_params
params
=
{
.
teb
=
get_teb64
(
params32
->
teb
),
.
target
=
params32
->
target
,
.
ret
=
TRUE
,
};
NTSTATUS
status
;
NTSTATUS
status
;
TEB
*
teb
=
get_teb64
(
params32
->
teb
);
if
(
!
(
ptr
=
get_buffer_pointer
(
teb
,
params32
->
target
)))
return
STATUS_SUCCESS
;
if
(
!
(
ptr
=
get_buffer_pointer
(
params
.
teb
,
params
.
target
)))
return
STATUS_SUCCESS
;
status
=
wow64_unmap_buffer
(
ptr
,
get_buffer_param
(
teb
,
params32
->
target
,
GL_BUFFER_MAP_LENGTH
),
status
=
wow64_unmap_buffer
(
ptr
,
get_buffer_param
(
params
.
teb
,
params
.
target
,
GL_BUFFER_MAP_LENGTH
),
get_buffer_param
(
teb
,
params32
->
target
,
GL_BUFFER_ACCESS_FLAGS
)
);
get_buffer_param
(
params
.
teb
,
params
.
target
,
GL_BUFFER_ACCESS_FLAGS
)
);
gl_unmap_buffer64
(
args
);
gl_unmap_buffer64
(
&
params
);
params32
->
ret
=
params
.
ret
;
return
status
;
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