diff --git a/game.project b/game.project index 48c15f3..e872185 100644 --- a/game.project +++ b/game.project @@ -22,7 +22,7 @@ title = scene3d_examples version = dev developer = Indiesoft LLC dependencies#0 = https://github.com/britzl/ludobits/archive/7.1.0.zip -dependencies#1 = https://github.com/britzl/defold-screenshot/archive/1.8.2.zip +dependencies#1 = https://github.com/britzl/defold-screenshot/archive/1.11.0.zip dependencies#2 = https://github.com/britzl/defold-clipboard/archive/1.3.0.zip dependencies#3 = https://github.com/indiesoftby/defold-pointer-lock/archive/1.0.0.zip dependencies#4 = https://github.com/subsoap/defos/archive/refs/tags/v2.7.1.zip diff --git a/scene3d/src/extension.cpp b/scene3d/src/extension.cpp index 06d5869..e0d172a 100644 --- a/scene3d/src/extension.cpp +++ b/scene3d/src/extension.cpp @@ -660,8 +660,8 @@ static dmExtension::Result OnPostRender(dmExtension::Params* params) static dmExtension::Result AppInitializeExt(dmExtension::AppParams* params) { - dmExtension::RegisterCallback(dmExtension::CALLBACK_PRE_RENDER, OnPreRender); - dmExtension::RegisterCallback(dmExtension::CALLBACK_POST_RENDER, OnPostRender); + dmExtension::RegisterCallback(dmExtension::CALLBACK_PRE_RENDER, (FExtensionCallback)OnPreRender); + dmExtension::RegisterCallback(dmExtension::CALLBACK_POST_RENDER, (FExtensionCallback)OnPostRender); return dmExtension::RESULT_OK; }