aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/platforms/emscripten.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/platforms/emscripten.cmake b/cmake/platforms/emscripten.cmake
index 6526037..5c13f90 100644
--- a/cmake/platforms/emscripten.cmake
+++ b/cmake/platforms/emscripten.cmake
@@ -26,6 +26,8 @@ set(emcc_export_list
# Callbacks when the resizing controls are used
_resize_puzzle
_restore_puzzle_size
+ # Callback when device pixel ratio changes
+ _rescale_puzzle
# Main program, run at initialisation time
_main)