mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
Use 'f' for float suffix.
This commit is contained in:
parent
b0b871429d
commit
9982044a8d
1 changed files with 1 additions and 1 deletions
2
src/mesa/pipe/p_util.h
Normal file → Executable file
2
src/mesa/pipe/p_util.h
Normal file → Executable file
|
|
@ -60,7 +60,7 @@ union fi {
|
|||
else if (__tmp.i >= IEEE_0996) \
|
||||
UB = (ubyte) 255; \
|
||||
else { \
|
||||
__tmp.f = __tmp.f * (255.0F/256.0F) + 32768.0F; \
|
||||
__tmp.f = __tmp.f * (255.0f/256.0f) + 32768.0f; \
|
||||
UB = (ubyte) __tmp.i; \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue