mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-27 00:53:59 -05:00
Fixed Linux build.
This commit is contained in:
parent
705b135666
commit
31357c8786
1 changed files with 2 additions and 2 deletions
|
@ -78,12 +78,12 @@ namespace bgfx
|
||||||
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;
|
PlatformData pd;
|
||||||
memset(&pd, 0, sizeof(pd) );
|
memset(&pd, 0, sizeof(pd) );
|
||||||
pd.ndt = _display;
|
pd.ndt = _display;
|
||||||
pd.nwh = _window;
|
pd.nwh = (void*)(uintptr_t)_window;
|
||||||
pd.context = _glx;
|
pd.context = _glx;
|
||||||
setPlatformData(pd);
|
setPlatformData(pd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue