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
ba69d050
Commit
ba69d050
authored
Sep 30, 2003
by
Jason Edmeades
Committed by
Alexandre Julliard
Sep 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make unlock of the backbuffer correctly restore the contents.
parent
82f46ab1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
surface.c
dlls/d3d8/surface.c
+4
-0
No files found.
dlls/d3d8/surface.c
View file @
ba69d050
...
...
@@ -321,6 +321,8 @@ HRESULT WINAPI IDirect3DSurface8Impl_UnlockRect(LPDIRECT3DSURFACE8 iface) {
vcheckGLcall
(
"glIntegerv"
);
glGetIntegerv
(
GL_CURRENT_RASTER_POSITION
,
&
prev_rasterpos
[
0
]);
vcheckGLcall
(
"glIntegerv"
);
glPixelZoom
(
1
.
0
,
-
1
.
0
);
vcheckGLcall
(
"glPixelZoom"
);
if
(
This
==
This
->
Device
->
backBuffer
)
{
glDrawBuffer
(
GL_BACK
);
...
...
@@ -361,6 +363,8 @@ HRESULT WINAPI IDirect3DSurface8Impl_UnlockRect(LPDIRECT3DSURFACE8 iface) {
FIXME
(
"Unsupported Format %u in locking func
\n
"
,
This
->
myDesc
.
Format
);
}
glPixelZoom
(
1
.
0
,
1
.
0
);
vcheckGLcall
(
"glPixelZoom"
);
glDrawBuffer
(
prev_draw
);
vcheckGLcall
(
"glDrawBuffer"
);
glRasterPos3iv
(
&
prev_rasterpos
[
0
]);
...
...
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