mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Fix header size being used wrongly
* The sizes changed so these headers are total sized not cumulative
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user