Skip to content

Commit 872b959

Browse files
authored
Add missing deps_info for glfwGetMonitors (#14972)
Fixes #14965
1 parent 30863fb commit 872b959

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/test_other.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10605,6 +10605,8 @@ def test_deps_info(self):
1060510605
cmd.append('-sUSE_WEBGPU')
1060610606
if function.startswith('__cxa_'):
1060710607
cmd.append('-fexceptions')
10608+
if function.startswith('glfwGetMonitors'):
10609+
cmd.append('-sUSE_GLFW=3')
1060810610
# In WebAssemblyLowerEmscriptenEHSjLj pass in the LLVM backend, function
1060910611
# calls that exist in the same function with setjmp are converted to some
1061010612
# code sequence that includes emscripten_longjmp. emscripten_longjmp is

tools/deps_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
'glfwGetProcAddress': ['malloc'],
167167
'glfwInit': ['malloc', 'free'],
168168
'glfwSleep': ['sleep'],
169+
'glfwGetMonitors': ['malloc'],
169170
'gmtime': ['malloc'],
170171
'gmtime_r': ['malloc'],
171172
'localtime': ['_get_tzname', '_get_daylight', '_get_timezone', 'malloc'],

0 commit comments

Comments
 (0)