diff --git a/src/engine/Model.cpp b/src/engine/Model.cpp index 4290cd6..bfadc44 100644 --- a/src/engine/Model.cpp +++ b/src/engine/Model.cpp @@ -364,7 +364,7 @@ namespace fgl::engine case GL_CLAMP_TO_BORDER: return vk::SamplerAddressMode::eClampToBorder; #endif -#ifdef GL_CLAMP_TO_BORDER +#ifdef GL_CLAMP_TO_EDGE case GL_CLAMP_TO_EDGE: return vk::SamplerAddressMode::eClampToEdge; #endif