forked from mirror/DotRecast
for mac
This commit is contained in:
parent
8260ebbe52
commit
8a59cb2d6b
|
@ -76,7 +76,7 @@ public class ModernOpenGLDraw : OpenGLDraw
|
|||
|
||||
public unsafe void init()
|
||||
{
|
||||
string SHADER_VERSION = PlatformID.MacOSX == Environment.OSVersion.Platform ? "#version 400\n" : "#version 460\n";
|
||||
string SHADER_VERSION = "#version 400\n";
|
||||
string vertex_shader = SHADER_VERSION + "uniform mat4 ProjMtx;\n" //
|
||||
+ "uniform mat4 ViewMtx;\n" //
|
||||
+ "in vec3 Position;\n" //
|
||||
|
|
Loading…
Reference in New Issue