mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
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:
parent
348b1c344d
commit
e4e24eee56
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user