diff options
| -rw-r--r-- | src/mesa/swrast/s_texfilter.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c index 1a779c800e..a5594ac623 100644 --- a/src/mesa/swrast/s_texfilter.c +++ b/src/mesa/swrast/s_texfilter.c @@ -1191,7 +1191,8 @@ sample_linear_2d( GLcontext *ctx,     (void) lambda;     if (tObj->WrapS == GL_REPEAT &&         tObj->WrapT == GL_REPEAT && -       image->_IsPowerOfTwo) { +       image->_IsPowerOfTwo && +       image->Border == 0) {        for (i=0;i<n;i++) {           sample_2d_linear_repeat(ctx, tObj, image, texcoords[i], rgba[i]);        }  | 
