This commit is contained in:
Branimir Karadžić 2016-03-13 12:56:25 -07:00
parent c8b5fc88ed
commit ceb2fab588
2 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ namespace bgfx { namespace gl
struct GlContext
{
GlContext()
: m_context(0)
, m_view(0)
: m_context(NULL)
, m_view(NULL)
{
}
@ -34,11 +34,11 @@ namespace bgfx { namespace gl
bool isValid() const
{
return 0 != m_context;
return NULL != m_context;
}
void* m_view;
void* m_context;
void* m_view;
};
} /* namespace gl */ } // namespace bgfx

View File

@ -127,8 +127,8 @@ namespace bgfx { namespace gl
[glView release];
}
m_view = 0;
m_context = 0;
m_view = NULL;
m_context = NULL;
bx::dlclose(s_opengl);
}