diff options
author | quou <quou@disroot.org> | 2025-01-05 23:09:45 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-05 23:11:05 +1100 |
commit | 74a91b679e9be1381fe52cad5d7c63b8bc9fc534 (patch) | |
tree | 56c24dd7f44ddc9c1207a46a34ca420d86b0cbaf /video.cpp | |
parent | bce070eba418c8a79f6affcd885564babbf8c9d3 (diff) |
use rgba instead of rgb for HDR since nvidia gpu doesnt support it
Diffstat (limited to 'video.cpp')
-rw-r--r-- | video.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3696,6 +3696,10 @@ size_t Texture_Loader::calc_size( return w * h * 6; case texture_format_rgb32f: return w * h * 12; + case texture_format_rgba16f: + return w * h * 8; + case texture_format_rgba32f: + return w * h * 16; default: print_err("Can't load this texture format.\n"); pbreak(45498); |