Some openjpeg optimizations and crash preventions from imprudence.

This commit is contained in:
phr0z3nt04st
2010-06-18 23:14:27 -05:00
parent 9f44d1d504
commit bf67293f7d
3 changed files with 23 additions and 11 deletions

View File

@@ -1016,8 +1016,7 @@ BOOL LLImageGL::createGLTexture(S32 discard_level, const LLImageRaw* imageraw, S
mFormatType = GL_UNSIGNED_BYTE;
break;
default:
//HACKY MCHACK HACK
llinfos << "Bad number of components for texture: " << (U32)getComponents() << llendl;
LL_DEBUGS("Openjpeg") << "Bad number of components for texture: " << (U32)getComponents() << LL_ENDL;
to_create = false;
}
}