source/gl_rsurf.c:

put lightmaps back to 256
configure.in:
	give us a --enable-profile
This commit is contained in:
Bill Currie 2000-06-24 06:19:24 +00:00
parent 3a77f62a33
commit ee44cd05e6
2 changed files with 16 additions and 1 deletions

View file

@ -877,6 +877,21 @@ else
BUILD_TYPE="Debug"
fi
dnl CFLAGS for release and devel versions
AC_ARG_ENABLE(profile,
[ --enable-profile compile with profiling (for development)],
profile=$enable_profile
)
if test "x$profile" = xyes; then
BUILD_TYPE="$BUILD_TYPE Profile"
if test "x$GCC" = xyes; then
CFLAGS="`echo $CFLAGS | sed -e 's/-fomit-frame-pointer//g'` -pg"
LDFLAGS="$LDFLAGS -pg"
else
CFLAGS="$CFLAGS -p"
fi
fi
dnl QuakeForge uses lots of BCPL-style (//) comments, which can cause problems
dnl with many compilers that don't support the latest ISO standards. Well,
dnl that is our cover story -- the reality is that we like them and don't want

View file

@ -75,7 +75,7 @@ cvar_t *gl_colorlights;
#define BLOCK_WIDTH 128
#define BLOCK_HEIGHT 128
#define MAX_LIGHTMAPS 64
#define MAX_LIGHTMAPS 256
int active_lightmaps;
typedef struct glRect_s {