mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-30 19:50:48 +00:00
source/gl_rsurf.c:
put lightmaps back to 256 configure.in: give us a --enable-profile
This commit is contained in:
parent
3a77f62a33
commit
ee44cd05e6
2 changed files with 16 additions and 1 deletions
15
configure.in
15
configure.in
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue