mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Cleanup.
This commit is contained in:
parent
a57a788c92
commit
7a49e4c229
1 changed files with 4 additions and 7 deletions
|
@ -146,13 +146,6 @@ EGL_IMPORT
|
|||
|
||||
# if BX_PLATFORM_RPI
|
||||
static EGL_DISPMANX_WINDOW_T s_dispmanWindow;
|
||||
|
||||
void x11SetDisplayWindow(::Display* _display, ::Window _window)
|
||||
{
|
||||
// Noop for now...
|
||||
BX_UNUSED(_display, _window);
|
||||
g_platformData.ndt = EGL_DEFAULT_DISPLAY;
|
||||
}
|
||||
# endif // BX_PLATFORM_RPI
|
||||
|
||||
void GlContext::create(uint32_t _width, uint32_t _height)
|
||||
|
@ -165,6 +158,10 @@ EGL_IMPORT
|
|||
|
||||
if (NULL == g_platformData.context)
|
||||
{
|
||||
# if BX_PLATFORM_RPI
|
||||
g_platformData.ndt = EGL_DEFAULT_DISPLAY;
|
||||
# endif // BX_PLATFORM_RPI
|
||||
|
||||
BX_UNUSED(_width, _height);
|
||||
EGLNativeDisplayType ndt = (EGLNativeDisplayType)g_platformData.ndt;
|
||||
EGLNativeWindowType nwh = (EGLNativeWindowType )g_platformData.nwh;
|
||||
|
|
Loading…
Reference in a new issue