mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Makefile.common: in non-release builds, explicitly pass -fno-omit-frame-pointer.
So that stack traces can be gotten with optimized DEBUGANYWAY builds, e.g. for Linux's 'perf' --> flame graphs. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4817 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3db594912f
commit
01fa7eeabc
3 changed files with 2 additions and 3 deletions
|
@ -264,7 +264,7 @@ OPTIMIZATIONS=-O$(OPTLEVEL) $(OPTOPT)
|
|||
DEBUGFLAG=-g
|
||||
ifeq (0,$(CLANG))
|
||||
ifneq ($(PLATFORM),WII)
|
||||
DEBUGFLAG=-ggdb
|
||||
DEBUGFLAG=-ggdb -fno-omit-frame-pointer
|
||||
endif
|
||||
endif
|
||||
ifneq ($(RELEASE)$(DEBUGANYWAY),10)
|
||||
|
|
|
@ -4108,7 +4108,7 @@ void polymost_drawsprite(int32_t snum)
|
|||
{
|
||||
if (sector[tspr->sectnum].floorz < tspr->z)
|
||||
{
|
||||
sf0 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp0 + ghoriz;
|
||||
sf0 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp0 + ghoriz;
|
||||
sf1 = (float)(sector[tspr->sectnum].floorz-globalposz)*ryp1 + ghoriz;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1488,7 +1488,6 @@ local user_defs_mt = {
|
|||
__index = {
|
||||
set_screen_size = function(ud, screen_size)
|
||||
if (ud.screen_size ~= screen_size) then
|
||||
-- TODO: modify .statusbarmode accordingly
|
||||
ud.screen_size = screen_size
|
||||
ffiC.G_UpdateScreenArea()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue