From de2cbbfb4760c456ec063aeec197ea6d61ffe69d Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 27 Jan 2012 15:03:02 +0000 Subject: [PATCH] Fix USE_OPENGL=0 build; squelch one warning. git-svn-id: https://svn.eduke32.com/eduke32@2287 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/defs.c | 2 +- polymer/eduke32/build/src/engine.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/src/defs.c b/polymer/eduke32/build/src/defs.c index aff6e3dd6..6d77d3de7 100644 --- a/polymer/eduke32/build/src/defs.c +++ b/polymer/eduke32/build/src/defs.c @@ -1335,6 +1335,7 @@ static int32_t defsparser(scriptfile *script) } } +#ifdef USE_OPENGL if (!model_ok) { if (lastmodelid >= 0) @@ -1346,7 +1347,6 @@ static int32_t defsparser(scriptfile *script) break; } -#ifdef USE_OPENGL md_setmisc(lastmodelid,(float)scale,shadeoffs,(float)mzadd,(float)myoffset,flags); // thin out the loaded model by throwing away unused frames diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index dadb05591..4389aca9a 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -2099,8 +2099,8 @@ static inline int32_t getclipmask(int32_t a, int32_t b, int32_t c, int32_t d) inline int32_t getkensmessagecrc(int32_t b) { + UNREFERENCED_PARAMETER(b); return 0x56c764d4l; - b=b; } #endif