Fix mirrors in Polymer

git-svn-id: https://svn.eduke32.com/eduke32@7809 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-19 01:49:34 +00:00 committed by Christoph Oelckers
parent 48f602ae68
commit 67dc0cb5f8

View file

@ -12065,7 +12065,7 @@ void renderPrepareMirror(int32_t dax, int32_t day, int32_t daz, fix16_t daang, f
inpreparemirror = 1;
#ifdef USE_OPENGL
if (videoGetRenderMode() != REND_CLASSIC)
if (videoGetRenderMode() == REND_POLYMOST)
polymost_prepareMirror(dax, day, daz, daang, dahoriz, dawall);
#endif
}
@ -12117,7 +12117,7 @@ void renderPrepareMirrorOld(int32_t dax, int32_t day, int32_t daz, fix16_t daang
void renderCompleteMirror(void)
{
#ifdef USE_OPENGL
if (videoGetRenderMode() != REND_CLASSIC)
if (videoGetRenderMode() == REND_POLYMOST)
polymost_completeMirror();
#endif