Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/zglfw.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ fn _isLinuxDesktopLike() bool {
//
//--------------------------------------------------------------------------------------------------
const os = builtin.target.os.tag;
usingnamespace if (os == .emscripten or os == .freestanding) struct {
pub const glfwEmscriptenCompat = if (os == .emscripten or os == .freestanding) struct {
// GLFW - emscripten uses older version that doesn't have these functions - implement dummies
var glfwGetGamepadStateWarnPrinted: bool = false;
pub export fn glfwGetGamepadState(_: i32, _: ?*anyopaque) i32 {
Expand Down