opengl version 460

This commit is contained in:
ikpil 2023-04-06 19:00:52 +09:00
parent 35591536fd
commit 864e4cf092
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class ModernOpenGLDraw : OpenGLDraw
public unsafe void init() 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" // 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" //