Skip to content
Snippets Groups Projects
Commit d2a2541d authored by Cosmic Linden's avatar Cosmic Linden
Browse files

SL-19080: Restrict LLGLTFMaterial fields test to a single compiler target, as...

SL-19080: Restrict LLGLTFMaterial fields test to a single compiler target, as results can vary between compilers
parent a5638534
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,10 @@ namespace tut
if (sizeof(void*) > 4) // Don't bother running this test for 32-bit systems
{
// If any fields are added/changed, these tests should be updated (consider also updating ASSET_VERSION in LLGLTFMaterial)
// This test result will vary between compilers, so only test a single platform
#if LL_WINDOWS
ensure_equals("fields supported for GLTF (sizeof check)", sizeof(LLGLTFMaterial), 216);
#endif
}
ensure_equals("LLGLTFMaterial texture info count", (U32)LLGLTFMaterial::GLTF_TEXTURE_INFO_COUNT, 4);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment