mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-21 22:40:44 +00:00
Fixed missing fake floors in deferred buffer mode
wow.wad is now genuine and authentic...
This commit is contained in:
parent
dde25820e2
commit
7510ad1635
1 changed files with 9 additions and 12 deletions
|
@ -187,9 +187,7 @@ void GLFlat::DrawSubsector(subsector_t * sub)
|
||||||
unsigned int vi[4];
|
unsigned int vi[4];
|
||||||
|
|
||||||
vi[0] = 0;
|
vi[0] = 0;
|
||||||
for (unsigned int i = 1; i < sub->numlines-1; i += 2)
|
for (unsigned int i = 0; i < sub->numlines - 2; i += 2)
|
||||||
{
|
|
||||||
if (i < sub->numlines - 3)
|
|
||||||
{
|
{
|
||||||
for (unsigned int j = 1; j < 4; j++)
|
for (unsigned int j = 1; j < 4; j++)
|
||||||
{
|
{
|
||||||
|
@ -203,7 +201,6 @@ void GLFlat::DrawSubsector(subsector_t * sub)
|
||||||
qd.Render(GL_TRIANGLE_FAN);
|
qd.Render(GL_TRIANGLE_FAN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
flatvertices += sub->numlines;
|
flatvertices += sub->numlines;
|
||||||
flatprimitives++;
|
flatprimitives++;
|
||||||
|
|
Loading…
Reference in a new issue