Skip to content
Snippets Groups Projects
Commit 240564c4 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix bug in GL core texture format swizzle buffer usage

parent a1fb67a6
No related branches found
No related tags found
No related merge requests found
......@@ -1254,6 +1254,8 @@ void LLImageGL::setManualImage(U32 target, S32 miplevel, S32 intformat, S32 widt
pix[3] = ((U8*)pixels)[i];
}
pixels = &scratch[0];
pixformat = GL_RGBA;
intformat = GL_RGBA8;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment