chore(rive_native): build microprofiler behind a flag (#12514) 44ba1a605e * chore(rive_native): build microprofiler behind a flag * chore: enable microprofile for debug builds by default * fix(rive_native): flutter windows runtime build error for unused function 'makeShaderFromRstb' * chore: wrap more unused functions under rive_tools Co-authored-by: Gordon <pggordonhayes@gmail.com>
diff --git a/.rive_head b/.rive_head index ca40105..3c9d785 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -2dab5352d72f600f862ec8f6eccc45c1b485a1d5 +44ba1a605e520ddfe27220d777673f0f855e82f3
diff --git a/src/lua/renderer/lua_gpu.cpp b/src/lua/renderer/lua_gpu.cpp index 39ad639..ca33d6c 100644 --- a/src/lua/renderer/lua_gpu.cpp +++ b/src/lua/renderer/lua_gpu.cpp
@@ -457,6 +457,7 @@ #endif } +#ifdef WITH_RIVE_TOOLS /// Try to create ShaderModules from a raw RSTB blob. /// For GLSL targets, the blob may contain two sources separated by a null /// byte (vertex then fragment). Populates both module and fragmentModule on