diff options
author | quou <quou@disroot.org> | 2025-01-03 23:15:16 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-03 23:15:16 +1100 |
commit | cf4c007acc6bce0aa702a39b4675ecb879b911ed (patch) | |
tree | c30818ca49c18137c833e86ce589afeb6c51276a /video.cpp | |
parent | b4d02ca1b735e3aee642509b14dfdddcc04a0c04 (diff) |
HDR texture support
Diffstat (limited to 'video.cpp')
-rw-r--r-- | video.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3689,6 +3689,10 @@ size_t Texture_Loader::calc_size( return (w / 4) * (h / 4) * 16; case texture_format_r8i: return w * h; + case texture_format_rgb16f: + return w * h * 6; + case texture_format_rgb32f: + return w * h * 12; default: print_err("Can't load this texture format.\n"); pbreak(45498); |