Separated GL context code.

This commit is contained in:
bkaradzic
2013-01-13 18:39:25 -08:00
parent 174524dde4
commit b77df356c1
15 changed files with 912 additions and 643 deletions

View File

@@ -5,10 +5,6 @@
#include "bgfx_p.h"
#if BX_PLATFORM_WINDOWS
HWND g_bgfxHwnd = NULL;
#endif // BX_PLATFORM_WINDOWS
#if BGFX_CONFIG_USE_TINYSTL
namespace tinystl
{
@@ -38,7 +34,9 @@ namespace bgfx
#endif // BGFX_CONFIG_MULTITHREADED
#if BX_PLATFORM_WINDOWS
void setHwnd(::HWND _hwnd)
HWND g_bgfxHwnd = NULL;
void winSetHwnd(::HWND _hwnd)
{
g_bgfxHwnd = _hwnd;
}