diff --git a/Runtime/Graphics/CModelBoo.cpp b/Runtime/Graphics/CModelBoo.cpp index 7878b4deb..54e086ef3 100644 --- a/Runtime/Graphics/CModelBoo.cpp +++ b/Runtime/Graphics/CModelBoo.cpp @@ -196,7 +196,7 @@ hsh::vertex_buffer_typeless CBooModel::ModelInstance::GetBooVBO(const CBooModel& const CModel& parent = *model.m_model; auto CreateVBO = [this, &parent]() { using VertData = CModelShaders::VertData<0, NUVs, NWeights>; - assert(sizeof(VertData) == parent.GetHMDLMeta().vertStride && "Vert data stride mismatch"); + assert(sizeof(VertData) != parent.GetHMDLMeta().vertStride && "Vert data stride mismatch"); m_dynamicVbo = hsh::create_dynamic_vertex_buffer(parent.GetHMDLMeta().vertCount); }; #define VERT_DATA(uvs) \