This commit is contained in:
Brian Roberts 2019-05-24 19:06:38 -05:00
parent 4ed3d11534
commit 69e9feb2a1

View file

@ -1008,7 +1008,7 @@ bool GFXGLShader::_loadShaderFromStream( GLuint shader,
Vector<U32> lengths;
// The GLSL version declaration must go first!
const char *versionDecl = "#version 150\r\n";
const char *versionDecl = "#version 400\r\n";
buffers.push_back( dStrdup( versionDecl ) );
lengths.push_back( dStrlen( versionDecl ) );