diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index dce9cc7d89..660eeb8d9a 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -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;