GL: Fixed texture formats.

This commit is contained in:
Branimir Karadžić
2016-01-11 14:49:56 -08:00
parent c64be968ec
commit 529fdb01c7
3 changed files with 8 additions and 7 deletions

View File

@@ -1413,7 +1413,7 @@ namespace bgfx
{
float rgba[4];
unpack(rgba, &src[xx*srcBpp/8]);
pack(&dst[xx*srcBpp/8], rgba);
pack(&dst[xx*dstBpp/8], rgba);
}
}