fix linux crash

This commit is contained in:
briaguya 2022-06-22 20:38:10 -04:00 committed by Kenix3
parent bd22074ec8
commit ba74653f61
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ static struct ShaderProgram* gfx_opengl_create_and_load_new_shader(uint64_t shad
#ifdef __APPLE__
append_line(fs_buf, &fs_len, "#version 410 core");
#else
append_line(fs_buf, &fs_len, "#version 120");
append_line(fs_buf, &fs_len, "#version 130");
#endif
//append_line(fs_buf, &fs_len, "precision mediump float;");
for (int i = 0; i < 2; i++) {