summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_winrt.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_winrt.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_winrt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_winrt.cpp b/3rdparty/bgfx/examples/common/entry/entry_winrt.cpp
index 1bca2de28da..042c032d609 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_winrt.cpp
+++ b/3rdparty/bgfx/examples/common/entry/entry_winrt.cpp
@@ -7,7 +7,7 @@
#if BX_PLATFORM_WINRT
-#include <bgfxplatform.h>
+#include <bgfx/bgfxplatform.h>
#include <bx/thread.h>
using namespace Windows::ApplicationModel;
@@ -44,7 +44,7 @@ public:
window->VisibilityChanged += ref new TypedEventHandler<CoreWindow^, VisibilityChangedEventArgs^>(this, &App::OnVisibilityChanged);
window->Closed += ref new TypedEventHandler<CoreWindow^, CoreWindowEventArgs^>(this, &App::OnWindowClosed);
- bgfx::winrtSetWindow(reinterpret_cast<IUnknown*>(window));
+ bgfx::winrtSetWindow(reinterpret_cast<IUnknown*>(window) );
}
virtual void Load(String^ entryPoint)
@@ -62,8 +62,8 @@ public:
static const float dipsPerInch = 96.0f;
g_eventQueue.postSizeEvent(g_defaultWindow
- , lround(floorf(bounds.Width * dpi / dipsPerInch + 0.5f))
- , lround(floorf(bounds.Height * dpi / dipsPerInch + 0.5f))
+ , lround(floorf(bounds.Width * dpi / dipsPerInch + 0.5f) )
+ , lround(floorf(bounds.Height * dpi / dipsPerInch + 0.5f) )
);
while (!m_windowClosed)