Use clamp to edge sampler
This commit is contained in:
Benau 2017-11-03 20:28:15 +08:00
parent 260729a8e2
commit fa6959251a

View File

@ -70,7 +70,7 @@ public:
GL_FRAGMENT_SHADER, "texturedquad.frag");
assignUniforms("center", "size", "texcenter", "texsize");
assignSamplerNames(0, "tex", ST_BILINEAR_FILTERED);
assignSamplerNames(0, "tex", ST_BILINEAR_CLAMPED_FILTERED);
} // TextureRectShader
}; // TextureRectShader