mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Update the internal naming convention for pixel formats.
--HG-- branch : minor
This commit is contained in:
@@ -161,7 +161,7 @@ void Font::createTexture()
|
||||
// glyphs), and transparent black otherwise.
|
||||
std::vector<uint8> emptydata(pixelcount * bpp, 0);
|
||||
|
||||
if (pixelFormat == PIXELFORMAT_LA8)
|
||||
if (pixelFormat == PIXELFORMAT_LA8_UNORM)
|
||||
{
|
||||
for (size_t i = 0; i < pixelcount; i++)
|
||||
emptydata[i * 2 + 0] = 255;
|
||||
|
||||
Reference in New Issue
Block a user