From bdc1ebc0471512fa01a5f9f14f271cd424182e9d Mon Sep 17 00:00:00 2001 From: Mars Date: Fri, 11 Oct 2024 00:45:36 -0400 Subject: [PATCH] oops --- src/main.cpp | 5 ++--- src/shaders/frag.spv | Bin 900 -> 728 bytes 2 files changed, 2 insertions(+), 3 deletions(-) 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 872b83707721b595f7037ab301aac0c922bf28ab..9495412355d546c65016d807fb9ccd9311dbb93d 100644 GIT binary patch delta 361 zcmYjNyAA8g-)YW$^ALMqL7%8Eu3U>&diz2 z$-VdN%LXa0mjw*+2oODkxeWm{o~uVa;BeVo7wf}mzli~h3_=&0YG^q(xZTF<-Q>7G z#;#+cf&5)UHA9+tK!-31S8(f(D?uFYY!?p}MU%SA$0M|3E;LMU~~f8gh# QO2{L9%xpi=KFsbDU!H9mX8-^I literal 900 zcmYk4O-lk{6oqf;lxd}AY2Rfn18GqaM75BZjbKsGauA(jU~)vKs9l@>Sih=G(0L{Y z=ECjHIrqHx%W|`a^JX(vvL)NIf2-Q87!x;_M7ML_X-(om>*Vwp#j@oRA)2xkEU$>a z^nxLY1^J?UOr^;sEdYHGOxgF2#cHPd6*B_0%N&FG|UKk90ZxD?AejL2{ z=n5HKFzkn~gRH=jBHPMxigIqkWkf z-Gl$$j-v5^_pUmy(=I>;X1^?^)&WTwd2mzCjlk4J53cD7+@YCV#FFp2zURd4%Nx>j zFEG39>u*7ktHWPRF*CuTFDjx3qc17a3m!d~nc+6H&9WkTaMn`1rAlQb&{3~46~R#t z%#IlSYl_rkFZ8R5)PhG3<_2&_!e}?;W}nw*x;*dL6=R1VF^=M;Saw*FGe4LaR^;>t z)1xk@{-a)TqlO#}d{@__#=0CH$C!n_UwT7+Lrx!bcjB0FOAe2v+_t{qc%O1RQ;vGK Ynt&Pjy?KwGJo{d0yYzqQR~63Xe~Dl~YybcN