Fix header size being used wrongly

* The sizes changed so these headers are total sized not cumulative
This commit is contained in:
baldurk
2024-01-22 14:08:15 +00:00
parent 5778f5b3e7
commit a232dc9a40
@@ -1818,7 +1818,6 @@ void ProgramEditor::SetNumThreads(uint32_t dim[3])
if(*headerSize >= headerSizeVer2)
{
cur += headerSizeVer0;
cur += headerSizeVer1;
memcpy(cur, dim, sizeof(uint32_t) * 3);
}