glgsg: use T_float when downloading 24-bit depth textures

This is to match behavior with previous Panda3D versions.  See #212
This commit is contained in:
rdb 2017-12-19 18:44:44 +01:00
parent 348b1c344d
commit e4e24eee56

View File

@ -6460,9 +6460,6 @@ framebuffer_copy_to_ram(Texture *tex, int view, int z,
break;
case Texture::F_depth_component24:
component_type = Texture::T_unsigned_int;
break;
case Texture::F_depth_component32:
component_type = Texture::T_float;
break;