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
e55416a1
Commit
e55416a1
authored
Oct 02, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: wined3d_swapchain_set_window() never fails.
parent
50c61959
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
swapchain.c
dlls/wined3d/swapchain.c
+2
-4
wined3d.h
include/wine/wined3d.h
+1
-1
No files found.
dlls/wined3d/swapchain.c
View file @
e55416a1
...
...
@@ -130,18 +130,16 @@ void * CDECL wined3d_swapchain_get_parent(const struct wined3d_swapchain *swapch
return
swapchain
->
parent
;
}
HRESULT
CDECL
wined3d_swapchain_set_window
(
struct
wined3d_swapchain
*
swapchain
,
HWND
window
)
void
CDECL
wined3d_swapchain_set_window
(
struct
wined3d_swapchain
*
swapchain
,
HWND
window
)
{
if
(
!
window
)
window
=
swapchain
->
device_window
;
if
(
window
==
swapchain
->
win_handle
)
return
WINED3D_OK
;
return
;
TRACE
(
"Setting swapchain %p window from %p to %p.
\n
"
,
swapchain
,
swapchain
->
win_handle
,
window
);
swapchain
->
win_handle
=
window
;
return
WINED3D_OK
;
}
HRESULT
CDECL
wined3d_swapchain_present
(
struct
wined3d_swapchain
*
swapchain
,
...
...
include/wine/wined3d.h
View file @
e55416a1
...
...
@@ -2379,7 +2379,7 @@ HRESULT __cdecl wined3d_swapchain_present(struct wined3d_swapchain *swapchain,
const
RGNDATA
*
dirty_region
,
DWORD
flags
);
HRESULT
__cdecl
wined3d_swapchain_set_gamma_ramp
(
const
struct
wined3d_swapchain
*
swapchain
,
DWORD
flags
,
const
struct
wined3d_gamma_ramp
*
ramp
);
HRESULT
__cdecl
wined3d_swapchain_set_window
(
struct
wined3d_swapchain
*
swapchain
,
HWND
window
);
void
__cdecl
wined3d_swapchain_set_window
(
struct
wined3d_swapchain
*
swapchain
,
HWND
window
);
HRESULT
__cdecl
wined3d_texture_add_dirty_region
(
struct
wined3d_texture
*
texture
,
UINT
layer
,
const
struct
wined3d_box
*
dirty_region
);
...
...
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