Fixed issue #327 (oops!).

This commit is contained in:
Branimir Karadžić 2015-04-09 22:31:26 -07:00
parent da8a691163
commit c9cd5521bd

View file

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