mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
try to fix some particle spots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5214 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6b712a4404
commit
77360d83e3
1 changed files with 3 additions and 3 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue