mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
Oops.
git-svn-id: https://svn.eduke32.com/eduke32@706 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
68393132c9
commit
9f14ec92bd
1 changed files with 16 additions and 13 deletions
|
@ -572,7 +572,9 @@ static void polymer_displayrooms(short dacursectnum)
|
||||||
|
|
||||||
while (front != back)
|
while (front != back)
|
||||||
{
|
{
|
||||||
if ((front >= firstback) && (pr_occlusionculling) && (querydelay[sectorqueue[front]] > 0))
|
if ((front >= firstback) && (pr_occlusionculling))
|
||||||
|
{
|
||||||
|
if (querydelay[sectorqueue[front]] == 0)
|
||||||
{
|
{
|
||||||
bglGetQueryObjectivARB(queryid[sectorqueue[front]],
|
bglGetQueryObjectivARB(queryid[sectorqueue[front]],
|
||||||
GL_QUERY_RESULT_ARB,
|
GL_QUERY_RESULT_ARB,
|
||||||
|
@ -588,8 +590,9 @@ static void polymer_displayrooms(short dacursectnum)
|
||||||
}
|
}
|
||||||
else if (querydelay[sectorqueue[front]] == -1)
|
else if (querydelay[sectorqueue[front]] == -1)
|
||||||
querydelay[sectorqueue[front]] = pr_occlusionculling-1;
|
querydelay[sectorqueue[front]] = pr_occlusionculling-1;
|
||||||
else if ((front >= firstback) && (pr_occlusionculling) && (querydelay[sectorqueue[front]]))
|
else if (querydelay[sectorqueue[front]])
|
||||||
querydelay[sectorqueue[front]]--;
|
querydelay[sectorqueue[front]]--;
|
||||||
|
}
|
||||||
|
|
||||||
polymer_pokesector(sectorqueue[front]);
|
polymer_pokesector(sectorqueue[front]);
|
||||||
polymer_drawsector(sectorqueue[front]);
|
polymer_drawsector(sectorqueue[front]);
|
||||||
|
|
Loading…
Reference in a new issue