mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
texturec: Fixed PTC14 encoder. Issue #699.
This commit is contained in:
parent
46b1b1b885
commit
bd508f9624
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ namespace bgfx
|
||||||
case TextureFormat::PTC14:
|
case TextureFormat::PTC14:
|
||||||
{
|
{
|
||||||
using namespace Javelin;
|
using namespace Javelin;
|
||||||
RgbBitmap bmp;
|
RgbaBitmap bmp;
|
||||||
bmp.width = _width;
|
bmp.width = _width;
|
||||||
bmp.height = _height;
|
bmp.height = _height;
|
||||||
bmp.data = (uint8_t*)const_cast<void*>(_src);
|
bmp.data = (uint8_t*)const_cast<void*>(_src);
|
||||||
|
|
Loading…
Reference in a new issue