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) {
|
||||||
|
|
Reference in New Issue