mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
This commit is contained in:
9
src/bgfx.cpp
Normal file → Executable file
9
src/bgfx.cpp
Normal file → Executable file
@@ -40,7 +40,14 @@ namespace bgfx
|
||||
{
|
||||
g_bgfxHwnd = _hwnd;
|
||||
}
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
#elif BX_PLATFORM_OSX
|
||||
void* g_bgfxNSWindow = NULL;
|
||||
|
||||
void osxSetNSWindow(void* _nsWindow)
|
||||
{
|
||||
g_bgfxNSWindow = _nsWindow;
|
||||
}
|
||||
#endif // BX_PLATFORM_*
|
||||
|
||||
struct CallbackStub : public CallbackI
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user