diff options
| author | 2010-12-15 09:59:58 -0800 | |
|---|---|---|
| committer | 2010-12-15 10:11:31 -0800 | |
| commit | 0857196107d55bae312c12b72b115d25d5fee4f9 (patch) | |
| tree | 2180a2809a3c945de178284fd44b8e5ed26fd42d /libs/rs/rsSampler.cpp | |
| parent | 320a4beda312279e842a97d3af5b3f0b28cbe49d (diff) | |
Cleanup and refactoring of an earlier cl.
Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
Diffstat (limited to 'libs/rs/rsSampler.cpp')
| -rw-r--r-- | libs/rs/rsSampler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |