mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 13:21:04 +00:00
Whitespace is not allowed before the '#' of pre-processor directives.
This commit is contained in:
parent
ac733e8a28
commit
c11b3873ff
3 changed files with 4 additions and 4 deletions
|
@ -330,7 +330,7 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
// instead of sending it through gl_upload 8
|
||||
GL_Bind(playertextures + playernum);
|
||||
|
||||
#if 0
|
||||
#if 0
|
||||
s = 320*200;
|
||||
byte translated[320*200];
|
||||
|
||||
|
@ -346,7 +346,7 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
// don't mipmap these, because it takes too long
|
||||
GL_Upload8 (translated, paliashdr->skinwidth, paliashdr->skinheight,
|
||||
false, false, true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
scaled_width = gl_max_size.value < 512 ? gl_max_size.value : 512;
|
||||
scaled_height = gl_max_size.value < 256 ? gl_max_size.value : 256;
|
||||
|
|
|
@ -1514,7 +1514,7 @@ void BuildSurfaceDisplayList (msurface_t *fa)
|
|||
VectorNormalize( v2 );
|
||||
|
||||
// skip co-linear points
|
||||
#define COLINEAR_EPSILON 0.001
|
||||
#define COLINEAR_EPSILON 0.001
|
||||
if ((fabs( v1[0] - v2[0] ) <= COLINEAR_EPSILON) &&
|
||||
(fabs( v1[1] - v2[1] ) <= COLINEAR_EPSILON) &&
|
||||
(fabs( v1[2] - v2[2] ) <= COLINEAR_EPSILON))
|
||||
|
|
|
@ -182,7 +182,7 @@ void GL_SubdivideSurface (msurface_t *fa)
|
|||
// speed up sin calculations - Ed
|
||||
float turbsin[] =
|
||||
{
|
||||
#include "gl_warp_sin.h"
|
||||
#include "gl_warp_sin.h"
|
||||
};
|
||||
#define TURBSCALE (256.0 / (2 * M_PI))
|
||||
|
||||
|
|
Loading…
Reference in a new issue