Xcode build fix.
parent
e2c4c23990
commit
0f7aef2fe4
|
|
@ -1395,8 +1395,8 @@ BOOL LLImageGL::createGLTexture(S32 discard_level, const LLImageRaw* imageraw, S
|
|||
}
|
||||
|
||||
if (mHasExplicitFormat &&
|
||||
(mFormatPrimary == GL_RGBA && mComponents < 4) ||
|
||||
(mFormatPrimary == GL_RGB && mComponents < 3))
|
||||
((mFormatPrimary == GL_RGBA && mComponents < 4) ||
|
||||
(mFormatPrimary == GL_RGB && mComponents < 3)))
|
||||
|
||||
{
|
||||
LL_WARNS() << "Incorrect format: " << std::hex << mFormatPrimary << " components: " << (U32)mComponents << LL_ENDL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue