mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-08 15:00:43 +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)
|
//Load texture (globalpicnum)
|
||||||
gotpic.Set(globalpicnum);
|
gotpic.Set(globalpicnum);
|
||||||
vec2_t tsiz = { tilesize.x, tilesize.y };
|
vec2_t tsiz = { tilesize.X, tilesize.y };
|
||||||
|
|
||||||
assert(n <= MAX_DRAWPOLY_VERTS);
|
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);
|
GLInterface.SetNpotEmulation(0.f, 0.f);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float xOffset = 1.f / tilesize.x;
|
float xOffset = 1.f / tilesize.X;
|
||||||
GLInterface.SetNpotEmulation((1.f*size2) / size, xOffset);
|
GLInterface.SetNpotEmulation((1.f*size2) / size, xOffset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ class FSerializer;
|
||||||
|
|
||||||
struct vec2_16_t
|
struct vec2_16_t
|
||||||
{
|
{
|
||||||
int16_t x, y;
|
int16_t X, y;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct vec2_t
|
struct vec2_t
|
||||||
|
|
Loading…
Reference in a new issue