From 74a91b679e9be1381fe52cad5d7c63b8bc9fc534 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 5 Jan 2025 23:09:45 +1100 Subject: use rgba instead of rgb for HDR since nvidia gpu doesnt support it --- video.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video.cpp') diff --git a/video.cpp b/video.cpp index f619643..47b7685 100644 --- a/video.cpp +++ b/video.cpp @@ -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); -- cgit v1.2.3-54-g00ecf