|
|
@@ -5824,7 +5824,7 @@ namespace bgfx { namespace gl
|
|
|
if (0 != m_id)
|
|
|
{
|
|
|
if (GL_COMPUTE_SHADER != m_type
|
|
|
- && 0 != bx::strCmp(code, "#version 430", 12) ) // #2000
|
|
|
+ && 0 != bx::strCmp(code, "#version", 8) ) // #2000
|
|
|
{
|
|
|
int32_t tempLen = code.getLength() + (4<<10);
|
|
|
char* temp = (char*)alloca(tempLen);
|