mirror of
https://github.com/love2d/love.git
synced 2026-08-21 05:00:08 +02:00
Merge branch 'master' into 12.0-development
This commit is contained in:
@@ -1146,7 +1146,7 @@ int w_newVolumeTexture(lua_State *L)
|
|||||||
|
|
||||||
for (int slice = 0; slice < slicelen; slice++)
|
for (int slice = 0; slice < slicelen; slice++)
|
||||||
{
|
{
|
||||||
lua_rawgeti(L, -1, mip + 1);
|
lua_rawgeti(L, -1, slice + 1);
|
||||||
|
|
||||||
auto data = getImageData(L, -1, true, slice == 0 && mip == 0 ? autodpiscale : nullptr);
|
auto data = getImageData(L, -1, true, slice == 0 && mip == 0 ? autodpiscale : nullptr);
|
||||||
if (data.first.get())
|
if (data.first.get())
|
||||||
|
|||||||
Reference in New Issue
Block a user