mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Pale void.
This commit is contained in:
parent
f4a06f3a37
commit
1cd0ba3f8f
2 changed files with 4 additions and 5 deletions
|
@ -711,7 +711,6 @@ R_DrawAliasModel (entity_t *e)
|
|||
|
||||
// draw all the triangles
|
||||
if (model->fullbright) {
|
||||
|
||||
qfglBindTexture (GL_TEXTURE_2D, texture);
|
||||
if (vo->tex_coord)
|
||||
GL_DrawAliasFrameTri_fb (vo);
|
||||
|
|
|
@ -132,11 +132,11 @@ noise_plasma (unsigned char *noise, int size)
|
|||
else
|
||||
d = -size / 64;
|
||||
|
||||
memset(noise, 128, sizeof (*noise));
|
||||
memset (noise, 128, sizeof (*noise));
|
||||
|
||||
for (i = size; i > 0; i /= 2) {
|
||||
for (j=0; j < size; j += i) {
|
||||
for (k=0; k < size; k += i) {
|
||||
for (j = 0; j < size; j += i) {
|
||||
for (k = 0; k < size; k += i) {
|
||||
if (d >= 0)
|
||||
c = i * d;
|
||||
else
|
||||
|
@ -144,7 +144,7 @@ noise_plasma (unsigned char *noise, int size)
|
|||
|
||||
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++)
|
||||
noise[a * size + b] += c;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue