Skip to content

Commit

Permalink
Fix return type of emscripten_glfw_is_window_fullscreen
Browse files Browse the repository at this point in the history
I'm trying to change the type of EM_BOOL and this is currently
blocking that:
  emscripten-core/emscripten#22155
  • Loading branch information
sbc100 committed Jun 27, 2024
1 parent f4ca7de commit d83de88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/glfw3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d83de88

Please sign in to comment.