mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
fix linux crash
This commit is contained in:
parent
bd22074ec8
commit
ba74653f61
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue