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
83443273
Commit
83443273
authored
Apr 06, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass the correct window to Present() in IWineD3DSurfaceImpl_Flip().
parent
3b7774b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
surface.c
dlls/wined3d/surface.c
+2
-1
No files found.
dlls/wined3d/surface.c
View file @
83443273
...
@@ -3343,7 +3343,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Flip(IWineD3DSurface *iface, IWineD3DS
...
@@ -3343,7 +3343,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Flip(IWineD3DSurface *iface, IWineD3DS
}
}
/* Flipping a OpenGL surface -> Use WineD3DDevice::Present */
/* Flipping a OpenGL surface -> Use WineD3DDevice::Present */
hr
=
IWineD3DSwapChain_Present
((
IWineD3DSwapChain
*
)
swapchain
,
NULL
,
NULL
,
0
,
NULL
,
0
);
hr
=
IWineD3DSwapChain_Present
((
IWineD3DSwapChain
*
)
swapchain
,
NULL
,
NULL
,
swapchain
->
win_handle
,
NULL
,
0
);
IWineD3DSwapChain_Release
((
IWineD3DSwapChain
*
)
swapchain
);
IWineD3DSwapChain_Release
((
IWineD3DSwapChain
*
)
swapchain
);
return
hr
;
return
hr
;
}
}
...
...
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