mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Update the internal naming convention for pixel formats.
--HG-- branch : minor
This commit is contained in:
@@ -44,7 +44,7 @@ int w_newImageData(lua_State *L)
|
||||
if (w <= 0 || h <= 0)
|
||||
return luaL_error(L, "Invalid image size.");
|
||||
|
||||
PixelFormat format = PIXELFORMAT_RGBA8;
|
||||
PixelFormat format = PIXELFORMAT_RGBA8_UNORM;
|
||||
|
||||
if (!lua_isnoneornil(L, 3))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user