First off in gl_draw.c we have some nice cleanup code for the upload

code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
This commit is contained in:
Zephaniah E. Hull 2000-09-22 09:08:08 +00:00
parent 9691cca81d
commit 210ba16069
40 changed files with 222 additions and 244 deletions

View file

@ -395,7 +395,7 @@ R_RenderFace
void R_RenderFace (msurface_t *fa, int clipflags)
{
int i, lindex;
unsigned mask;
unsigned int mask;
mplane_t *pplane;
float distinv;
vec3_t p_normal;
@ -593,7 +593,7 @@ R_RenderBmodelFace
void R_RenderBmodelFace (bedge_t *pedges, msurface_t *psurf)
{
int i;
unsigned mask;
unsigned int mask;
mplane_t *pplane;
float distinv;
vec3_t p_normal;
@ -709,7 +709,7 @@ void R_RenderPoly (msurface_t *fa, int clipflags)
{
int i, lindex, lnumverts, s_axis, t_axis;
float dist, lastdist, lzi, scale, u, v, frac;
unsigned mask;
unsigned int mask;
vec3_t local, transformed;
clipplane_t *pclip;
medge_t *pedges;