mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-12 06:42:07 +00:00
gameexec.cpp: allow G_ShowView() to execute regardless of the state of g_screenCapture.
This fixes skyboxes not rendering in TILE_SAVESHOT. git-svn-id: https://svn.eduke32.com/eduke32@7893 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4d22a44a5d
commit
c80b01cfda
1 changed files with 0 additions and 3 deletions
|
@ -1172,9 +1172,6 @@ int G_StartTrack(int const levelNum) { return G_StartTrackSlot(ud.volume_number,
|
||||||
|
|
||||||
LUNATIC_EXTERN void G_ShowView(vec3_t vec, fix16_t a, fix16_t horiz, int sect, int ix1, int iy1, int ix2, int iy2, bool unbiasedp)
|
LUNATIC_EXTERN void G_ShowView(vec3_t vec, fix16_t a, fix16_t horiz, int sect, int ix1, int iy1, int ix2, int iy2, bool unbiasedp)
|
||||||
{
|
{
|
||||||
if (g_screenCapture)
|
|
||||||
return;
|
|
||||||
|
|
||||||
int x1 = min(ix1, ix2);
|
int x1 = min(ix1, ix2);
|
||||||
int x2 = max(ix1, ix2);
|
int x2 = max(ix1, ix2);
|
||||||
int y1 = min(iy1, iy2);
|
int y1 = min(iy1, iy2);
|
||||||
|
|
Loading…
Reference in a new issue