Skip to content

Commit fc629be

Browse files
authored
Merge pull request #182 from Devsh-Graphics-Programming/cad_example_fix
Fixed example 62
2 parents 903f0de + 0f230e1 commit fc629be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

62_CAD/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ class ComputerAidedDesign final : public examples::SimpleWindowedApplication, pu
393393
}
394394

395395
IGPUSampler::SParams samplerParams = {};
396-
samplerParams.TextureWrapU = IGPUSampler::ETC_CLAMP_TO_BORDER;
397-
samplerParams.TextureWrapV = IGPUSampler::ETC_CLAMP_TO_BORDER;
398-
samplerParams.TextureWrapW = IGPUSampler::ETC_CLAMP_TO_BORDER;
396+
samplerParams.TextureWrapU = IGPUSampler::E_TEXTURE_CLAMP::ETC_CLAMP_TO_BORDER;
397+
samplerParams.TextureWrapV = IGPUSampler::E_TEXTURE_CLAMP::ETC_CLAMP_TO_BORDER;
398+
samplerParams.TextureWrapW = IGPUSampler::E_TEXTURE_CLAMP::ETC_CLAMP_TO_BORDER;
399399
samplerParams.BorderColor = IGPUSampler::ETBC_FLOAT_OPAQUE_WHITE; // positive means outside shape
400400
samplerParams.MinFilter = IGPUSampler::ETF_LINEAR;
401401
samplerParams.MaxFilter = IGPUSampler::ETF_LINEAR;

0 commit comments

Comments
 (0)