mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: use float literal instead of integer to specify image scale as 1
This commit is contained in:
parent
a4147d2e61
commit
a8f78ea9bb
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue