diff options
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); |