diff options
author | Eric Anholt <[email protected]> | 2019-07-01 15:38:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-07-16 12:51:13 -0700 |
commit | 35e2d31ba4218cd55085c97764741eaf2fa3a332 (patch) | |
tree | b84e1b165a85f09133a4d0b891c99bac971868f6 /src/mesa/main/fbobject.c | |
parent | ece03848c27675eb4933f07f45acd49336d99144 (diff) |
mesa: Drop redundant checks for sRGB before sRGB to linear conversion.
_mesa_get_srgb_format_linear() just returns the original format if it
wasn't sRGB.
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
0 files changed, 0 insertions, 0 deletions