summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp4
1 files changed, 4 insertions, 0 deletions
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);