mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
This commit is contained in:
parent
168200f915
commit
7484c63449
@ -221,7 +221,7 @@ bool ImGui_ImplSdlGL3_CreateDeviceObjects()
|
||||
glGetIntegerv(GL_VERTEX_ARRAY_BINDING, &last_vertex_array);
|
||||
|
||||
const GLchar *vertex_shader =
|
||||
"#version 330\n"
|
||||
"#version 150\n"
|
||||
"uniform mat4 ProjMtx;\n"
|
||||
"in vec2 Position;\n"
|
||||
"in vec2 UV;\n"
|
||||
@ -236,7 +236,7 @@ bool ImGui_ImplSdlGL3_CreateDeviceObjects()
|
||||
"}\n";
|
||||
|
||||
const GLchar* fragment_shader =
|
||||
"#version 330\n"
|
||||
"#version 150\n"
|
||||
"uniform sampler2D Texture;\n"
|
||||
"in vec2 Frag_UV;\n"
|
||||
"in vec4 Frag_Color;\n"
|
||||
|
Loading…
Reference in New Issue
Block a user