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
0affcc3a
Commit
0affcc3a
authored
Sep 08, 2011
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove dead code (and variable) from wined3d_surface_flip. wined3d_surface_flip.
parent
2b6f0b9a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
surface.c
dlls/wined3d/surface.c
+0
-3
No files found.
dlls/wined3d/surface.c
View file @
0affcc3a
...
@@ -3767,8 +3767,6 @@ HRESULT CDECL wined3d_surface_releasedc(struct wined3d_surface *surface, HDC dc)
...
@@ -3767,8 +3767,6 @@ HRESULT CDECL wined3d_surface_releasedc(struct wined3d_surface *surface, HDC dc)
HRESULT
CDECL
wined3d_surface_flip
(
struct
wined3d_surface
*
surface
,
struct
wined3d_surface
*
override
,
DWORD
flags
)
HRESULT
CDECL
wined3d_surface_flip
(
struct
wined3d_surface
*
surface
,
struct
wined3d_surface
*
override
,
DWORD
flags
)
{
{
struct
wined3d_swapchain
*
swapchain
;
TRACE
(
"surface %p, override %p, flags %#x.
\n
"
,
surface
,
override
,
flags
);
TRACE
(
"surface %p, override %p, flags %#x.
\n
"
,
surface
,
override
,
flags
);
if
(
flags
)
if
(
flags
)
...
@@ -3787,7 +3785,6 @@ HRESULT CDECL wined3d_surface_flip(struct wined3d_surface *surface, struct wined
...
@@ -3787,7 +3785,6 @@ HRESULT CDECL wined3d_surface_flip(struct wined3d_surface *surface, struct wined
ERR
(
"Flipped surface is not on a swapchain.
\n
"
);
ERR
(
"Flipped surface is not on a swapchain.
\n
"
);
return
WINEDDERR_NOTFLIPPABLE
;
return
WINEDDERR_NOTFLIPPABLE
;
}
}
swapchain
=
surface
->
container
.
u
.
swapchain
;
/* Flipping is only supported on render targets and overlays. */
/* Flipping is only supported on render targets and overlays. */
if
(
!
(
surface
->
resource
.
usage
&
(
WINED3DUSAGE_RENDERTARGET
|
WINED3DUSAGE_OVERLAY
)))
if
(
!
(
surface
->
resource
.
usage
&
(
WINED3DUSAGE_RENDERTARGET
|
WINED3DUSAGE_OVERLAY
)))
...
...
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