Pale void.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-02-20 22:50:47 +00:00
parent f4a06f3a37
commit 1cd0ba3f8f
2 changed files with 4 additions and 5 deletions

View File

@ -711,7 +711,6 @@ R_DrawAliasModel (entity_t *e)
// draw all the triangles // draw all the triangles
if (model->fullbright) { if (model->fullbright) {
qfglBindTexture (GL_TEXTURE_2D, texture); qfglBindTexture (GL_TEXTURE_2D, texture);
if (vo->tex_coord) if (vo->tex_coord)
GL_DrawAliasFrameTri_fb (vo); GL_DrawAliasFrameTri_fb (vo);

View File

@ -132,11 +132,11 @@ noise_plasma (unsigned char *noise, int size)
else else
d = -size / 64; d = -size / 64;
memset(noise, 128, sizeof (*noise)); memset (noise, 128, sizeof (*noise));
for (i = size; i > 0; i /= 2) { for (i = size; i > 0; i /= 2) {
for (j=0; j < size; j += i) { for (j = 0; j < size; j += i) {
for (k=0; k < size; k += i) { for (k = 0; k < size; k += i) {
if (d >= 0) if (d >= 0)
c = i * d; c = i * d;
else else
@ -144,7 +144,7 @@ noise_plasma (unsigned char *noise, int size)
c = qfrandom (c * 2) - c; c = qfrandom (c * 2) - c;
for (a=j; a < j + i; a++) for (a = j; a < j + i; a++)
for (b = k; b < k + i; b++) for (b = k; b < k + i; b++)
noise[a * size + b] += c; noise[a * size + b] += c;
} }