mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user