Skip to content

Commit

Permalink
Fix #2254
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Dec 25, 2024
1 parent e24586a commit 49c1f0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions cmake/Modules/AXLinkHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ function(ax_link_cxx_prebuilt APP_NAME AX_ROOT_DIR AX_PREBUILT_DIR)
PRIVATE NOUNCRYPT=1
PRIVATE P2T_STATIC_EXPORTS=1
PRIVATE BT_USE_SSE_IN_API=1
PRIVATE CP_USE_DOUBLES=0
PRIVATE CP_USE_CGTYPES=0
)

ax_config_pred(${APP_NAME} AX_USE_ALSOFT)
Expand Down Expand Up @@ -91,7 +89,6 @@ function(ax_link_cxx_prebuilt APP_NAME AX_ROOT_DIR AX_PREBUILT_DIR)
PRIVATE ${AX_ROOT_DIR}/3rdparty/freetype/include
PRIVATE ${AX_ROOT_DIR}/3rdparty/glfw/include/GLFW
PRIVATE ${AX_ROOT_DIR}/3rdparty/box2d/include
PRIVATE ${AX_ROOT_DIR}/3rdparty/chipmunk/include
PRIVATE ${AX_ROOT_DIR}/${AX_PREBUILT_DIR}/engine/3rdparty/freetype/include
PRIVATE ${AX_ROOT_DIR}/3rdparty/webp/src/webp
PRIVATE ${AX_ROOT_DIR}/3rdparty/pugixml
Expand Down Expand Up @@ -136,7 +133,6 @@ function(ax_link_cxx_prebuilt APP_NAME AX_ROOT_DIR AX_PREBUILT_DIR)
set(LIBS
axmol
box2d
chipmunk
freetype
webp
pugixml
Expand Down
2 changes: 1 addition & 1 deletion templates/cpp/Source/MainScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ bool MainScene::init()
drawNode->setPosition(Vec2(0, 0));
addChild(drawNode);

drawNode->drawRect(safeArea.origin + Vec2(1, 1), safeArea.origin + safeArea.size, Color4B::BLUE);
drawNode->drawRect(safeArea.origin + Vec2(1, 1), safeArea.origin + safeArea.size, Color::BLUE);
}

// scheduleUpdate() is required to ensure update(float) is called on every loop
Expand Down

0 comments on commit 49c1f0b

Please sign in to comment.