diff --git a/src/main.cpp b/src/main.cpp index 528b9e0..b19c06f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -639,9 +639,8 @@ class VulkanApp { } fn createTextureImage() -> void { - i32 texWidth = 0, texHeight = 0, texChannels = 0; - stbi_uc* pixels = - stbi_load("src/textures/texture.jpg", &texWidth, &texHeight, &texChannels, STBI_rgb_alpha); + i32 texWidth = 0, texHeight = 0, texChannels = 0; + u8* pixels = stbi_load("src/textures/texture.jpg", &texWidth, &texHeight, &texChannels, STBI_rgb_alpha); vk::DeviceSize imageSize = static_cast(texWidth) * static_cast(texHeight) * 4; diff --git a/src/shaders/frag.spv b/src/shaders/frag.spv index 872b837..9495412 100644 Binary files a/src/shaders/frag.spv and b/src/shaders/frag.spv differ