From e52c3e6d8280ea11a11d826e251b4b3f3395e94c Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 22 Dec 2021 20:46:10 +1100 Subject: [PATCH] - Capitalise `vec2_16_t` `x` variable. --- source/build/src/polymost.cpp | 4 ++-- source/core/intvec.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 0f4b8fd44..5bdfee55c 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -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); } } diff --git a/source/core/intvec.h b/source/core/intvec.h index aa4cc2e76..c8b476b61 100644 --- a/source/core/intvec.h +++ b/source/core/intvec.h @@ -4,7 +4,7 @@ class FSerializer; struct vec2_16_t { - int16_t x, y; + int16_t X, y; }; struct vec2_t