From 0857196107d55bae312c12b72b115d25d5fee4f9 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Wed, 15 Dec 2010 09:59:58 -0800 Subject: Cleanup and refactoring of an earlier cl. Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030 --- libs/rs/rsSampler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/rs/rsSampler.cpp') diff --git a/libs/rs/rsSampler.cpp b/libs/rs/rsSampler.cpp index 54282a8dd8cb..e2757df10831 100644 --- a/libs/rs/rsSampler.cpp +++ b/libs/rs/rsSampler.cpp @@ -61,6 +61,7 @@ void Sampler::setupGL(const Context *rsc, const Allocation *tex) { GL_LINEAR_MIPMAP_LINEAR, //RS_SAMPLER_LINEAR_MIP_LINEAR, GL_REPEAT, //RS_SAMPLER_WRAP, GL_CLAMP_TO_EDGE, //RS_SAMPLER_CLAMP + GL_LINEAR_MIPMAP_NEAREST, //RS_SAMPLER_LINEAR_MIP_NEAREST }; GLenum transNP[] = { @@ -69,6 +70,7 @@ void Sampler::setupGL(const Context *rsc, const Allocation *tex) { GL_LINEAR, //RS_SAMPLER_LINEAR_MIP_LINEAR, GL_CLAMP_TO_EDGE, //RS_SAMPLER_WRAP, GL_CLAMP_TO_EDGE, //RS_SAMPLER_CLAMP + GL_LINEAR, //RS_SAMPLER_LINEAR_MIP_NEAREST, }; // This tells us the correct texture type -- cgit v1.2.3-59-g8ed1b