mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-08 12:28:10 -05:00
fix linux crash
This commit is contained in:
parent
bd22074ec8
commit
ba74653f61
@ -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…
Reference in New Issue
Block a user