mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -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
|
||||
{
|
||||
///
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue