improve friction quality, add shader-only support, improve debug drawing facilities, fix couple things
This commit is contained in:
7453
external/glad/glad.c
vendored
7453
external/glad/glad.c
vendored
File diff suppressed because one or more lines are too long
13138
external/glad/glad.h
vendored
13138
external/glad/glad.h
vendored
File diff suppressed because one or more lines are too long
4
external/imgui/imgui_impl_glfw_gl3.cpp
vendored
4
external/imgui/imgui_impl_glfw_gl3.cpp
vendored
@ -210,7 +210,7 @@ bool ImGui_ImplGlfwGL3_CreateDeviceObjects()
|
||||
glGetIntegerv(GL_VERTEX_ARRAY_BINDING, &last_vertex_array);
|
||||
|
||||
const GLchar *vertex_shader =
|
||||
"#version 130\n"
|
||||
"#version 400\n"
|
||||
"uniform mat4 ProjMtx;\n"
|
||||
"in vec2 Position;\n"
|
||||
"in vec2 UV;\n"
|
||||
@ -225,7 +225,7 @@ bool ImGui_ImplGlfwGL3_CreateDeviceObjects()
|
||||
"}\n";
|
||||
|
||||
const GLchar* fragment_shader =
|
||||
"#version 130\n"
|
||||
"#version 400\n"
|
||||
"uniform sampler2D Texture;\n"
|
||||
"in vec2 Frag_UV;\n"
|
||||
"in vec4 Frag_Color;\n"
|
||||
|
Reference in New Issue
Block a user