1
0
Fork 0
forked from fte/fteqw

Fixes from ericw.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5563 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-10-06 22:41:02 +00:00
parent 0a88ecfb33
commit a524692e4f
2 changed files with 2 additions and 2 deletions

View file

@ -903,9 +903,9 @@ ELSE()
SET_TARGET_PROPERTIES(fteqccgui PROPERTIES COMPILE_DEFINITIONS "${FTE_LIB_DEFINES};${FTE_REVISON};${Qt5Widgets_COMPILE_DEFINITIONS}")
SET_PROPERTY(TARGET fteqccgui PROPERTY POSITION_INDEPENDENT_CODE TRUE)
TARGET_LINK_LIBRARIES(fteqccgui ${FTEQCC_LIBS} ${Qt5Widgets_LIBRARIES} ${QSCINTILLA_LIBRARY})
SET(INSTALLTARGS ${INSTALLTARGS} fteqccgui)
ELSE()
MESSAGE(WARNING "qscintilla/qt5widgets library not detected, no fteqccgui for you")
SET(INSTALLTARGS ${INSTALLTARGS} fteqccgui)
ENDIF()
ENDIF()
ENDIF()

View file

@ -7700,7 +7700,7 @@ static void IQM_ImportArrayF(const qbyte *fte_restrict base, const struct iqmver
case IQM_HALF:
#ifdef __F16C__
{ //x86 intrinsics
const unsigned short *in = (const qbyte*)(base+offset);
const unsigned short *in = (const unsigned short*)(base+offset);
for (i = 0; i < count; i++)
{
for (j = 0; j < e && j < sz; j++)