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
1a93983b
Commit
1a93983b
authored
May 30, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
May 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use NAN.
parent
5665730a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
drawprim.c
dlls/wined3d/drawprim.c
+2
-0
utils.c
dlls/wined3d/utils.c
+2
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/drawprim.c
View file @
1a93983b
...
...
@@ -25,6 +25,8 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_draw
);
...
...
dlls/wined3d/utils.c
View file @
1a93983b
...
...
@@ -25,6 +25,8 @@
*/
#include "config.h"
#include "wine/port.h"
#include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
...
...
dlls/wined3d/wined3d_private.h
View file @
1a93983b
...
...
@@ -200,7 +200,7 @@ static inline float float_16_to_32(const unsigned short *in) {
return
sgn
*
powf
(
2
,
(
float
)
e
-
15
.
0
f
)
*
(
1
.
0
f
+
((
float
)
m
/
1024
.
0
f
));
}
else
{
if
(
m
==
0
)
return
sgn
/
0
.
0
f
;
/* +INF / -INF */
else
return
0
.
0
f
/
0
.
0
f
;
/* NAN */
else
return
NAN
;
}
}
...
...
@@ -222,7 +222,7 @@ static inline float float_24_to_32(DWORD in)
else
{
if
(
m
==
0
)
return
sgn
/
0
.
0
f
;
/* +INF / -INF */
else
return
0
.
0
f
/
0
.
0
f
;
/* NAN */
else
return
NAN
;
}
}
...
...
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