diff --git a/ee/gs/src/gsTexture.c b/ee/gs/src/gsTexture.c index 73ef218..4bd10ed 100644 --- a/ee/gs/src/gsTexture.c +++ b/ee/gs/src/gsTexture.c @@ -543,6 +543,8 @@ void gsKit_prim_sprite_striped_texture_3d(GSGLOBAL *gsGlobal, const GSTEXTURE *T u64 Tex0; u64 Prim; + + GSTEXTURE nearestTexture; int extracount; @@ -604,6 +606,16 @@ void gsKit_prim_sprite_striped_texture_3d(GSGLOBAL *gsGlobal, const GSTEXTURE *T stripcount = ((ix2 - ix1) / 64); + if (stripcount <= 0) +{ + nearestTexture = *Texture; + nearestTexture.Filter = GS_FILTER_NEAREST; + gsKit_prim_sprite_texture_3d(gsGlobal, &nearestTexture, + x1, y1, iz1, u1, v1, + x2, y2, iz2, u2, v2, color); + return; +} + if(!(stripcount + extracount)) { return;