mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Capitalise vec2_16_t
x
variable.
This commit is contained in:
parent
b2ab64bb62
commit
e52c3e6d82
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ class FSerializer;
|
|||
|
||||
struct vec2_16_t
|
||||
{
|
||||
int16_t x, y;
|
||||
int16_t X, y;
|
||||
};
|
||||
|
||||
struct vec2_t
|
||||
|
|
Loading…
Reference in a new issue