forked from bit/DotRecastNetSim
fix shader version 400
This commit is contained in:
parent
864e4cf092
commit
28310a39ae
|
@ -76,7 +76,7 @@ public class ModernOpenGLDraw : OpenGLDraw
|
||||||
|
|
||||||
public unsafe void init()
|
public unsafe void init()
|
||||||
{
|
{
|
||||||
string SHADER_VERSION = "#version 460\n";
|
string SHADER_VERSION = "#version 400\n";
|
||||||
string vertex_shader = SHADER_VERSION + "uniform mat4 ProjMtx;\n" //
|
string vertex_shader = SHADER_VERSION + "uniform mat4 ProjMtx;\n" //
|
||||||
+ "uniform mat4 ViewMtx;\n" //
|
+ "uniform mat4 ViewMtx;\n" //
|
||||||
+ "in vec3 Position;\n" //
|
+ "in vec3 Position;\n" //
|
||||||
|
|
Loading…
Reference in New Issue