Browse Source

ref: remove predictable random tiling textures

pull/2/head
Alibek Omarov 3 years ago
parent
commit
f0feb1dfbf
  1. 3
      ref_gl/gl_rsurf.c
  2. 3
      ref_soft/r_surf.c

3
ref_gl/gl_rsurf.c

@ -3630,9 +3630,6 @@ void GL_InitRandomTable( void )
{ {
int tu, tv; int tu, tv;
// make random predictable
gEngfuncs.COM_SetRandomSeed( 255 );
for( tu = 0; tu < MOD_FRAMES; tu++ ) for( tu = 0; tu < MOD_FRAMES; tu++ )
{ {
for( tv = 0; tv < MOD_FRAMES; tv++ ) for( tv = 0; tv < MOD_FRAMES; tv++ )

3
ref_soft/r_surf.c

@ -357,9 +357,6 @@ void R_InitRandomTable( void )
{ {
int tu, tv; int tu, tv;
// make random predictable
gEngfuncs.COM_SetRandomSeed( 255 );
for( tu = 0; tu < MOD_FRAMES; tu++ ) for( tu = 0; tu < MOD_FRAMES; tu++ )
{ {
for( tv = 0; tv < MOD_FRAMES; tv++ ) for( tv = 0; tv < MOD_FRAMES; tv++ )

Loading…
Cancel
Save