From 1e067f210b8a86a43f8e575ca4bbc79d20467b66 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 5 May 2008 07:04:03 +0000 Subject: [PATCH] remove texture restriction --- panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx b/panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx index b34bf1660e..6aad586688 100644 --- a/panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx +++ b/panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx @@ -1559,12 +1559,6 @@ prepare_texture(Texture *tex) { << tex->get_ram_image_compression() << "\n"; return NULL; } - if (tex->get_component_type() != Texture::T_unsigned_byte) { - tinydisplay_cat.info() - << "not loading texture " << tex->get_name() << ": " - << tex->get_component_type() << "\n"; - return NULL; - } TinyTextureContext *gtc = new TinyTextureContext(_prepared_objects, tex); gtc->_gltex = (GLTexture *)gl_zalloc(sizeof(GLTexture));