Branimir Karadžić пре 9 година
родитељ
комит
ceb2fab588
2 измењених фајлова са 6 додато и 6 уклоњено
  1. 4 4
      src/glcontext_nsgl.h
  2. 2 2
      src/glcontext_nsgl.mm

+ 4 - 4
src/glcontext_nsgl.h

@@ -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
 

+ 2 - 2
src/glcontext_nsgl.mm

@@ -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);
 	}