From 77360d83e3843fcd21a1b511217eacb72b4d6dae Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 11 Feb 2018 06:09:49 +0000 Subject: [PATCH] try to fix some particle spots. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5214 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index f050b5459..54b1d4fac 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -2901,7 +2901,7 @@ void R_InitParticleTexture (void) } } - TEXASSIGN(particletexture, R_LoadTexture32("dotparticle", 8, 8, data, IF_NOMIPMAP|IF_NOPICMIP)); + TEXASSIGN(particletexture, R_LoadTexture32("dotparticle", 8, 8, data, IF_NOMIPMAP|IF_NOPICMIP|IF_CLAMP)); // @@ -2925,7 +2925,7 @@ void R_InitParticleTexture (void) data[y*32+x][3] = 255; } } - particlecqtexture = Image_GetTexture("classicparticle", "particles", IF_NOMIPMAP|IF_NOPICMIP, data, NULL, 32, 32, TF_RGBA32); + particlecqtexture = Image_GetTexture("classicparticle", "particles", IF_NOMIPMAP|IF_NOPICMIP|IF_CLAMP, data, NULL, 32, 32, TF_RGBA32); //draw a square in the top left. still a triangle. for (x=0 ; x<16 ; x++) @@ -2935,7 +2935,7 @@ void R_InitParticleTexture (void) data[y*32+x][3] = 255; } } - Image_GetTexture("classicparticle_square", "particles", IF_NOMIPMAP|IF_NOPICMIP, data, NULL, 32, 32, TF_RGBA32); + Image_GetTexture("classicparticle_square", "particles", IF_NOMIPMAP|IF_NOPICMIP|IF_CLAMP, data, NULL, 32, 32, TF_RGBA32); for (x=0 ; x<16 ; x++)