fix usage of i8vec4 instead of u8vec4, fix grid commit bounds

This commit is contained in:
2019-01-20 11:57:09 +01:00
parent c66bc1f1d7
commit 2154396c6b
5 changed files with 44 additions and 21 deletions

View File

@@ -381,7 +381,7 @@ void NodePanelGrid::bake_uvs()
{
__block float* d_pos = data_pos.get();
__block float* d_nor = data_nor.get();
__block glm::i8vec4* d_out = reinterpret_cast<glm::i8vec4*>(data_out.get());
__block glm::u8vec4* d_out = reinterpret_cast<glm::u8vec4*>(data_out.get());
#if _WIN32
concurrency::parallel_for(int(0), fb.getHeight(), [&](int y)
#elif __IOS__ || __OSX__