fix build errors again

This commit is contained in:
Sam Gondelman 2018-11-28 23:01:02 -08:00 committed by GitHub
parent 66d77d2df8
commit 7936dd1ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,7 +308,7 @@ void Procedural::prepare(gpu::Batch& batch,
gpuTexture->setSampler(sampler); gpuTexture->setSampler(sampler);
gpuTexture->setAutoGenerateMips(true); gpuTexture->setAutoGenerateMips(true);
} }
batch.setResourceTexture(procedural::slot::texture::Channel0 + i, gpuTexture); batch.setResourceTexture((gpu::uint32)(procedural::slot::texture::Channel0 + i), gpuTexture);
} }
} }
} }