Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
belegdol committed Jul 31, 2023
1 parent d1d5d3d commit fb13ea4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/00-helloworld/helloworld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ExampleHelloWorld : public entry::AppI
init.vendorId = args.m_pciId;
init.platformData.nwh = entry::getNativeWindowHandle(entry::kDefaultWindowHandle);
init.platformData.ndt = entry::getNativeDisplayHandle();
init.platformData.wlsurface = entry::getWaylandSurfaceHandle();
init.platformData.wlsurface = entry::getWaylandSurfaceHandle();
init.resolution.width = m_width;
init.resolution.height = m_height;
init.resolution.reset = m_reset;
Expand Down
2 changes: 1 addition & 1 deletion examples/01-cubes/cubes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class ExampleCubes : public entry::AppI
init.vendorId = args.m_pciId;
init.platformData.nwh = entry::getNativeWindowHandle(entry::kDefaultWindowHandle);
init.platformData.ndt = entry::getNativeDisplayHandle();
init.platformData.wlsurface = entry::getWaylandSurfaceHandle();
init.platformData.wlsurface = entry::getWaylandSurfaceHandle();
init.resolution.width = m_width;
init.resolution.height = m_height;
init.resolution.reset = m_reset;
Expand Down
2 changes: 1 addition & 1 deletion include/bgfx/bgfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ namespace bgfx
void* ndt; //!< Native display type (*nix specific).
void* nwh; //!< Native window handle. If `NULL`, bgfx will create a headless
/// context/device, provided the rendering API supports it.
void* wlsurface; /// wayland surface
void* wlsurface; /// wayland surface
void* context; //!< GL context, D3D device, or Vulkan device. If `NULL`, bgfx
/// will create context/device.
void* backBuffer; //!< GL back-buffer, or D3D render target view. If `NULL` bgfx will
Expand Down
2 changes: 1 addition & 1 deletion src/bgfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,7 @@ namespace bgfx
PlatformData::PlatformData()
: ndt(NULL)
, nwh(NULL)
, wlsurface(NULL)
, wlsurface(NULL)
, context(NULL)
, backBuffer(NULL)
, backBufferDS(NULL)
Expand Down
2 changes: 1 addition & 1 deletion src/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6779,7 +6779,7 @@ VK_DESTROY
sci.pNext = NULL;
sci.flags = 0;
sci.display = (wl_display*)g_platformData.ndt;
sci.surface = (wl_surface*)g_platformData.wlsurface;
sci.surface = (wl_surface*)g_platformData.wlsurface;
result = vkCreateWaylandSurfaceKHR(instance, &sci, allocatorCb, &m_surface);
}
}
Expand Down

0 comments on commit fb13ea4

Please sign in to comment.