diff --git a/examples/39-assao/assao.cpp b/examples/39-assao/assao.cpp index 683a360c6..22a54756f 100644 --- a/examples/39-assao/assao.cpp +++ b/examples/39-assao/assao.cpp @@ -34,9 +34,9 @@ namespace // Random meshes we draw #define MODEL_COUNT 120 // In this demo, a model is a mesh plus a transform -#define SAMPLER_POINT_CLAMP (BGFX_SAMPLER_MIN_POINT|BGFX_SAMPLER_MAG_POINT|BGFX_SAMPLER_MIP_POINT|BGFX_SAMPLER_U_CLAMP| BGFX_SAMPLER_V_CLAMP | BGFX_SAMPLER_W_CLAMP) -#define SAMPLER_POINT_MIRROR (BGFX_SAMPLER_MIN_POINT|BGFX_SAMPLER_MAG_POINT|BGFX_SAMPLER_MIP_POINT|BGFX_SAMPLER_U_MIRROR| BGFX_SAMPLER_V_MIRROR | BGFX_SAMPLER_W_MIRROR) -#define SAMPLER_LINEAR_CLAMP (BGFX_SAMPLER_U_CLAMP| BGFX_SAMPLER_V_CLAMP | BGFX_SAMPLER_W_CLAMP) +#define SAMPLER_POINT_CLAMP (BGFX_SAMPLER_POINT|BGFX_SAMPLER_UVW_CLAMP) +#define SAMPLER_POINT_MIRROR (BGFX_SAMPLER_POINT|BGFX_SAMPLER_UVW_MIRROR) +#define SAMPLER_LINEAR_CLAMP (BGFX_SAMPLER_UVW_CLAMP) #define SSAO_DEPTH_MIP_LEVELS 4