- Capitalise vec2_16_t x variable.

This commit is contained in:
Mitchell Richters 2021-12-22 20:46:10 +11:00 committed by Christoph Oelckers
parent b2ab64bb62
commit e52c3e6d82
2 changed files with 3 additions and 3 deletions

View file

@ -362,7 +362,7 @@ static void polymost_drawpoly(FVector2 const * const dpxy, int32_t const n, int3
//Load texture (globalpicnum)
gotpic.Set(globalpicnum);
vec2_t tsiz = { tilesize.x, tilesize.y };
vec2_t tsiz = { tilesize.X, tilesize.y };
assert(n <= MAX_DRAWPOLY_VERTS);
@ -421,7 +421,7 @@ static void polymost_drawpoly(FVector2 const * const dpxy, int32_t const n, int3
GLInterface.SetNpotEmulation(0.f, 0.f);
else
{
float xOffset = 1.f / tilesize.x;
float xOffset = 1.f / tilesize.X;
GLInterface.SetNpotEmulation((1.f*size2) / size, xOffset);
}
}

View file

@ -4,7 +4,7 @@ class FSerializer;
struct vec2_16_t
{
int16_t x, y;
int16_t X, y;
};
struct vec2_t