From f3b6abc99791d9a4d7f5d9bee2da3b607902e0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 31 Jul 2013 16:02:13 +0200 Subject: [PATCH] Minor documentation fix. --- src/Texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Texture.h b/src/Texture.h index 90c5a8e9d..70a0115a4 100644 --- a/src/Texture.h +++ b/src/Texture.h @@ -50,7 +50,7 @@ Image2D image({4096, 4096}, ImageFormat::RGBA, ImageType::UnsignedByte, data); Texture2D texture; texture.setMagnificationFilter(Sampler::Filter::Linear) - ->setMinificationFilter(Sampler::Filter::Linear, Texture2D::Mipmap::Linear) + ->setMinificationFilter(Sampler::Filter::Linear, Sampler::Mipmap::Linear) ->setWrapping(Sampler::Wrapping::ClampToEdge) ->setMaxAnisotropy(Sampler::maxSupportedAnisotropy()) ->setStorage(Math::log2(4096)+1, TextureFormat::RGBA8, {4096, 4096})