fix bug in targetModulation pyramid construction

This commit is contained in:
Ondrej Jamriska
2019-05-10 01:41:22 +02:00
parent 8d8fcc5cee
commit d77e03742f

View File

@@ -853,8 +853,8 @@ void ebsynthCuda(int numStyleChannels,
if (targetModulationData)
{
resampleGPU(pyramid[level].targetModulation,pyramid[levelCount-1].targetModulation);
pyramid[level].targetModulation = TexArray2<NG,unsigned char>(levelTargetSize);
resampleGPU(pyramid[level].targetModulation,pyramid[levelCount-1].targetModulation);
}
}