Skip to content

Commit

Permalink
Use BX_UNUSED for cases where Wayland is not an option (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
belegdol authored Aug 17, 2023
1 parent cbfea75 commit ec84ed6
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 ec84ed6

Please sign in to comment.