From bd508f96245108b94b3c96e20812fa614428dcad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 27 Feb 2016 09:05:00 -0800 Subject: [PATCH] texturec: Fixed PTC14 encoder. Issue #699. --- tools/texturec/texturec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/texturec/texturec.cpp b/tools/texturec/texturec.cpp index 61f270dc..35983dc9 100644 --- a/tools/texturec/texturec.cpp +++ b/tools/texturec/texturec.cpp @@ -117,7 +117,7 @@ namespace bgfx case TextureFormat::PTC14: { using namespace Javelin; - RgbBitmap bmp; + RgbaBitmap bmp; bmp.width = _width; bmp.height = _height; bmp.data = (uint8_t*)const_cast(_src);