Fix issue in the C version of the classic renderer where someone had attempted to negate a bool

git-svn-id: https://svn.eduke32.com/eduke32@7012 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-07 05:21:06 +00:00
parent 2f65866167
commit 7f5f22e184
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ void vlineasm4(bssize_t cnt, char *p)
#ifdef USE_SATURATE_VPLC #ifdef USE_SATURATE_VPLC
static int32_t g_saturate; // -1 if saturating vplc is requested, 0 else static int32_t g_saturate; // -1 if saturating vplc is requested, 0 else
# define set_saturate(dosaturate) g_saturate = -!!dosaturate # define set_saturate(dosaturate) g_saturate = -(int)!!dosaturate
#else #else
# define set_saturate(dosaturate) UNREFERENCED_PARAMETER(dosaturate) # define set_saturate(dosaturate) UNREFERENCED_PARAMETER(dosaturate)
#endif #endif