mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- renderDrawMasks may only be called for Polymost.
This commit is contained in:
parent
6f65eb2270
commit
d3e0a9590c
1 changed files with 1 additions and 1 deletions
|
@ -122,13 +122,13 @@ void animatecamsprite(double smoothratio)
|
||||||
// Note: no ROR or camera here - Polymost has no means to detect these things before rendering the scene itself.
|
// Note: no ROR or camera here - Polymost has no means to detect these things before rendering the scene itself.
|
||||||
renderDrawRoomsQ16(camera->x, camera->y, camera->z, ang.asq16(), IntToFixed(camera->shade), camera->sectnum); // why 'shade'...?
|
renderDrawRoomsQ16(camera->x, camera->y, camera->z, ang.asq16(), IntToFixed(camera->shade), camera->sectnum); // why 'shade'...?
|
||||||
fi.animatesprites(camera->x, camera->y, ang.asbuild(), smoothratio);
|
fi.animatesprites(camera->x, camera->y, ang.asbuild(), smoothratio);
|
||||||
|
renderDrawMasks();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
render_drawrooms(camera, camera->pos, camera->sectnum, ang, buildhoriz(camera->shade), buildlook(0));
|
render_drawrooms(camera, camera->pos, camera->sectnum, ang, buildhoriz(camera->shade), buildlook(0));
|
||||||
}
|
}
|
||||||
display_mirror = 0;
|
display_mirror = 0;
|
||||||
renderDrawMasks();
|
|
||||||
});
|
});
|
||||||
renderRestoreTarget();
|
renderRestoreTarget();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue