mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test
This commit is contained in:
parent
823409b7d0
commit
6ccd23b87b
1 changed files with 1 additions and 0 deletions
|
|
@ -1198,6 +1198,7 @@ sample_linear_2d( GLcontext *ctx,
|
|||
(void) lambda;
|
||||
if (tObj->WrapS == GL_REPEAT &&
|
||||
tObj->WrapT == GL_REPEAT &&
|
||||
image->Border == 0 &&
|
||||
image->_IsPowerOfTwo) {
|
||||
for (i=0;i<n;i++) {
|
||||
sample_2d_linear_repeat(ctx, tObj, image, texcoords[i], rgba[i]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue