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
fbcd01ff
Commit
fbcd01ff
authored
Dec 23, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Remove some outdated comments from ddraw_surface7_SetSurfaceDesc().
parent
0fb06e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
surface.c
dlls/ddraw/surface.c
+0
-18
No files found.
dlls/ddraw/surface.c
View file @
fbcd01ff
...
...
@@ -4664,22 +4664,6 @@ static HRESULT WINAPI ddraw_surface1_SetClipper(IDirectDrawSurface *iface, IDire
return
ddraw_surface7_SetClipper
(
&
surface
->
IDirectDrawSurface7_iface
,
clipper
);
}
/*****************************************************************************
* IDirectDrawSurface7::SetSurfaceDesc
*
* Sets the surface description. It can override the pixel format, the surface
* memory, ...
* It's not really tested.
*
* Params:
* DDSD: Pointer to the new surface description to set
* Flags: Some flags
*
* Returns:
* DD_OK on success
* DDERR_INVALIDPARAMS if DDSD is NULL
*
*****************************************************************************/
static
HRESULT
WINAPI
ddraw_surface7_SetSurfaceDesc
(
IDirectDrawSurface7
*
iface
,
DDSURFACEDESC2
*
DDSD
,
DWORD
Flags
)
{
struct
ddraw_surface
*
surface
=
impl_from_IDirectDrawSurface7
(
iface
);
...
...
@@ -4709,8 +4693,6 @@ static HRESULT WINAPI ddraw_surface7_SetSurfaceDesc(IDirectDrawSurface7 *iface,
return
DDERR_INVALIDSURFACETYPE
;
}
/* Tests show that only LPSURFACE and PIXELFORMAT can be set, and LPSURFACE is required
* for PIXELFORMAT to work */
if
(
DDSD
->
dwFlags
&
~
allowed_flags
)
{
WARN
(
"Invalid flags %#lx set, returning DDERR_INVALIDPARAMS
\n
"
,
DDSD
->
dwFlags
);
...
...
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