mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 04:35:05 +01:00
gl_shader_util: Downgrade GLSL to 430
* Older intel drivers don'tsupport 450 as a version string
This commit is contained in:
parent
926d604312
commit
10c7aa402d
@ -26,7 +26,7 @@ GLuint LoadShader(const char* source, GLenum type) {
|
|||||||
#extension GL_EXT_clip_cull_distance : enable
|
#extension GL_EXT_clip_cull_distance : enable
|
||||||
#endif // defined(GL_EXT_clip_cull_distance)
|
#endif // defined(GL_EXT_clip_cull_distance)
|
||||||
)"
|
)"
|
||||||
: "#version 450 core\n";
|
: "#version 430 core\n";
|
||||||
|
|
||||||
const char* debug_type;
|
const char* debug_type;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user