mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Eliminate -Wno-narrowing. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4771 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e29e5bfbcb
commit
9d5a17c93e
2 changed files with 1 additions and 8 deletions
|
@ -392,13 +392,6 @@ ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
|
|||
endif
|
||||
endif
|
||||
|
||||
# XXX: I (Helixhorned) only know that there's no -Wnarrowing on my OS X 10.6 using GCC 4.2.
|
||||
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
|
||||
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \>= 3)))
|
||||
CPPONLYFLAGS+= -Wno-narrowing
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),WII)
|
||||
override USE_LIBVPX = 0
|
||||
override NETCODE = 0
|
||||
|
|
|
@ -1592,7 +1592,7 @@ static void md3postload_common(md3model_t *m)
|
|||
|
||||
do // while(++verti < m->head.surfs[surfi].numverts);
|
||||
{
|
||||
vec3f_t f = { frameverts[verti].x, frameverts[verti].y, frameverts[verti].z };
|
||||
vec3f_t f = { (float)frameverts[verti].x, (float)frameverts[verti].y, (float)frameverts[verti].z };
|
||||
|
||||
if (!verti && !surfi)
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue