From dc84b156a56764c6354774334b364e60760c5190 Mon Sep 17 00:00:00 2001 From: Hazim Gazov Date: Wed, 28 Apr 2010 06:11:15 -0300 Subject: [PATCH] hack around annoying crash on opensim --- indra/llrender/llimagegl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 800f7ac55..95386d12b 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -1016,7 +1016,9 @@ BOOL LLImageGL::createGLTexture(S32 discard_level, const LLImageRaw* imageraw, S mFormatType = GL_UNSIGNED_BYTE; break; default: - llerrs << "Bad number of components for texture: " << (U32)getComponents() << llendl; + //HACKY MCHACK HACK + llinfos << "Bad number of components for texture: " << (U32)getComponents() << llendl; + to_create = false; } }