From d83de88bcf2e1d0bb4afc4e50d591a35cadd32f7 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 27 Jun 2024 10:56:25 -0700 Subject: [PATCH] Fix return type of emscripten_glfw_is_window_fullscreen I'm trying to change the type of EM_BOOL and this is currently blocking that: https://github.com/emscripten-core/emscripten/pull/22155 --- src/cpp/glfw3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/glfw3.cpp b/src/cpp/glfw3.cpp index 5eb4cf6..b137a07 100644 --- a/src/cpp/glfw3.cpp +++ b/src/cpp/glfw3.cpp @@ -781,7 +781,7 @@ void emscripten_glfw_set_next_window_canvas_selector(char const *canvasSelector) //------------------------------------------------------------------------ // emscripten_glfw_is_window_fullscreen //------------------------------------------------------------------------ -int emscripten_glfw_is_window_fullscreen(GLFWwindow* window) +EM_BOOL emscripten_glfw_is_window_fullscreen(GLFWwindow* window) { auto w = getWindow(window); if(w)