mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 21:23:46 +00:00
specify 4.0 core profile usage. see: https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions
This commit is contained in:
parent
4ed3d11534
commit
69e9feb2a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ) );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue