cmake: use float literal instead of integer to specify image scale as 1

This commit is contained in:
Sebastian Krzyszkowiak 2019-05-10 23:20:10 +02:00
parent a4147d2e61
commit a8f78ea9bb
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -391,11 +391,11 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
else(IMGTOWEBP)
add_custom_target(${LIBSUPERDERPY_GAMENAME}_img_to_webp
DEPENDS ${ASSET_PIPELINE_DEPEND})
add_definitions(-DLIBSUPERDERPY_IMAGE_SCALE=1)
add_definitions(-DLIBSUPERDERPY_IMAGE_SCALE=1.0F)
endif(IMGTOWEBP)
else (ANDROID OR EMSCRIPTEN)
add_definitions(-DLIBSUPERDERPY_IMAGE_SCALE=1)
add_definitions(-DLIBSUPERDERPY_IMAGE_SCALE=1.0F)
endif (ANDROID OR EMSCRIPTEN)
MACRO(add_libsuperderpy_target EXECUTABLE_SRC_LIST)