diff options
author | Dave Airlie <[email protected]> | 2011-09-14 11:08:57 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-09-14 11:18:08 +0100 |
commit | 81a86aea4f0990a1b8795f9e00e7a6c4ba368281 (patch) | |
tree | 9798a61c65a74aba6790849544afcd6b32e15f51 /src/mesa/main/context.c | |
parent | 093dc9e548537e6c77e33064a584f849ad90dfa5 (diff) |
mesa/colormac: introduce inline helper for 4 unclamped float to ubyte.
This introduces an UNCLAMPED_FLOAT_TO_UBYTE x 4 inline function, as
suggested by Brian. It uses it in a few places I noticed from previous
color changes, and also some core mesa places. I haven't updated other places
yet.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
0 files changed, 0 insertions, 0 deletions