Explorar el Código

Fixed issue #327 (oops!).

Branimir Karadžić hace 10 años
padre
commit
c9cd5521bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderer_gl.cpp

+ 1 - 1
src/renderer_gl.cpp

@@ -2861,7 +2861,7 @@ namespace bgfx { namespace gl
 		if (!cached)
 		{
 			GLint linked = 0;
-			if (0 == _vsh.m_id)
+			if (0 != _vsh.m_id)
 			{
 				GL_CHECK(glAttachShader(m_id, _vsh.m_id) );