Skip to content

Commit

Permalink
Use BX_UNUSED for cases where Wayland is not an option
Browse files Browse the repository at this point in the history
  • Loading branch information
belegdol committed Aug 17, 2023
1 parent cbfea75 commit 805a2ff
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/common/entry/entry_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ namespace entry

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}

Expand Down
1 change: 1 addition & 0 deletions examples/common/entry/entry_html5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ namespace entry

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}
}
Expand Down
1 change: 1 addition & 0 deletions examples/common/entry/entry_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ void setMouseLock(WindowHandle _handle, bool _lock)

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}

Expand Down
1 change: 1 addition & 0 deletions examples/common/entry/entry_noop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ namespace entry

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}

Expand Down
1 change: 1 addition & 0 deletions examples/common/entry/entry_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,7 @@ namespace entry

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}

Expand Down
1 change: 1 addition & 0 deletions examples/common/entry/entry_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ namespace entry

bgfx::NativeWindowHandleType::Enum getNativeWindowHandleType(WindowHandle _handle)
{
BX_UNUSED(_handle);
return bgfx::NativeWindowHandleType::Default;
}

Expand Down

0 comments on commit 805a2ff

Please sign in to comment.