Formating
This commit is contained in:
parent
c32b1d3163
commit
14d04c94b8
1 changed files with 2 additions and 1 deletions
|
|
@ -334,7 +334,8 @@ void HelloVulkan::createTextureImages(const vk::CommandBuffer& cmdBuf,
|
||||||
o << "media/textures/" << texture;
|
o << "media/textures/" << texture;
|
||||||
std::string txtFile = nvh::findFile(o.str(), defaultSearchPaths);
|
std::string txtFile = nvh::findFile(o.str(), defaultSearchPaths);
|
||||||
|
|
||||||
stbi_uc* stbi_pixels = stbi_load(txtFile.c_str(), &texWidth, &texHeight, &texChannels, STBI_rgb_alpha);
|
stbi_uc* stbi_pixels =
|
||||||
|
stbi_load(txtFile.c_str(), &texWidth, &texHeight, &texChannels, STBI_rgb_alpha);
|
||||||
|
|
||||||
std::array<stbi_uc, 4> color{255u, 0u, 255u, 255u};
|
std::array<stbi_uc, 4> color{255u, 0u, 255u, 255u};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue