Fixed Linux build.

This commit is contained in:
Branimir Karadžić 2015-04-20 19:05:41 -07:00
parent 705b135666
commit 31357c8786

View file

@ -78,12 +78,12 @@ namespace bgfx
namespace bgfx
{
///
inline void x11SetDisplayWindow(void* _display, uint32_t _window, void* _glx = NULL);
inline void x11SetDisplayWindow(void* _display, uint32_t _window, void* _glx = NULL)
{
PlatformData pd;
memset(&pd, 0, sizeof(pd) );
pd.ndt = _display;
pd.nwh = _window;
pd.nwh = (void*)(uintptr_t)_window;
pd.context = _glx;
setPlatformData(pd);
}