From 864e4cf092cc04e070e3bf686a0aa557f2206ccb Mon Sep 17 00:00:00 2001 From: ikpil Date: Thu, 6 Apr 2023 19:00:52 +0900 Subject: [PATCH] opengl version 460 --- src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs b/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs index 02f8633..20be9e9 100644 --- a/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs +++ b/src/DotRecast.Recast.Demo/Draw/ModernOpenGLDraw.cs @@ -76,7 +76,7 @@ public class ModernOpenGLDraw : OpenGLDraw public unsafe void init() { - string SHADER_VERSION = "#version 330\n"; + string SHADER_VERSION = "#version 460\n"; string vertex_shader = SHADER_VERSION + "uniform mat4 ProjMtx;\n" // + "uniform mat4 ViewMtx;\n" // + "in vec3 Position;\n" //