mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 13:53:14 +01:00
Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
This commit is contained in:
2
examples/common/dbg.cpp
Normal file → Executable file
2
examples/common/dbg.cpp
Normal file → Executable file
@@ -28,7 +28,7 @@ void dbgOutput(const char* _out)
|
||||
{
|
||||
#if BX_PLATFORM_WINDOWS || BX_PLATFORM_XBOX360
|
||||
OutputDebugStringA(_out);
|
||||
#elif BX_PLATFORM_NACL || BX_PLATFORM_LINUX
|
||||
#elif BX_PLATFORM_NACL || BX_PLATFORM_LINUX || BX_PLATFORM_OSX
|
||||
fputs(_out, stderr);
|
||||
fflush(stderr);
|
||||
#endif // BX_PLATFORM_
|
||||
|
||||
Reference in New Issue
Block a user