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
45ead7fe
Commit
45ead7fe
authored
Feb 23, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Cleanup the fixme_once handling.
parent
b7987db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
surface.c
dlls/d3dx9_36/surface.c
+2
-8
No files found.
dlls/d3dx9_36/surface.c
View file @
45ead7fe
...
...
@@ -604,10 +604,7 @@ static DWORD dword_from_bytes(CONST BYTE *src, UINT bytes_per_pixel)
static
BOOL
fixme_once
;
if
(
bytes_per_pixel
>
sizeof
(
DWORD
))
{
if
(
!
fixme_once
)
{
FIXME
(
"Unsupported image: %u bytes per pixel
\n
"
,
bytes_per_pixel
);
fixme_once
=
TRUE
;
}
if
(
!
fixme_once
++
)
FIXME
(
"Unsupported image: %u bytes per pixel
\n
"
,
bytes_per_pixel
);
bytes_per_pixel
=
sizeof
(
DWORD
);
}
...
...
@@ -620,10 +617,7 @@ static void dword_to_bytes(BYTE *dst, DWORD dword, UINT bytes_per_pixel)
static
BOOL
fixme_once
;
if
(
bytes_per_pixel
>
sizeof
(
DWORD
))
{
if
(
!
fixme_once
++
)
{
FIXME
(
"Unsupported image: %u bytes per pixel
\n
"
,
bytes_per_pixel
);
fixme_once
=
TRUE
;
}
if
(
!
fixme_once
++
)
FIXME
(
"Unsupported image: %u bytes per pixel
\n
"
,
bytes_per_pixel
);
ZeroMemory
(
dst
,
bytes_per_pixel
);
bytes_per_pixel
=
sizeof
(
DWORD
);
}
...
...
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