mirror of
https://github.com/love2d/love.git
synced 2026-08-28 18:26:55 +02:00
mac/iOS: fix build
This commit is contained in:
@@ -331,7 +331,7 @@ void Shader::buildLocalUniforms(const spirv_cross::CompilerMSL &msl, const spirv
|
||||
|
||||
// get_declared_struct_member_size should be the padded size, which can be larger than
|
||||
// the tightly packed size that external code will use with UniformInfo.
|
||||
u.dataSizeAllocated = memberSize;
|
||||
u.dataSizeAllocated = membersize;
|
||||
u.dataSizePacked = getUniformDataSizePacked(u);
|
||||
u.data = localUniformStagingData + offset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user