diff options
author | pommicket <pommicket@gmail.com> | 2022-11-03 20:40:01 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-11-03 20:40:01 -0400 |
commit | 9e0e836a5e0a01020dc830a4205bf0e6ee13d0ba (patch) | |
tree | 92916d4835bdd1c9747dfa99a80b3bc3834373d6 /gl.c | |
parent | 937364a6563eb0a2fe5775dc98011ae962807504 (diff) |
oops turns out we don't actually support glsl 430
Diffstat (limited to 'gl.c')
-rw-r--r-- | gl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -135,9 +135,10 @@ static int glsl_version(void) { case 210: return 120; case 300: return 130; case 310: return 140; - case 320: return 150; } - return v; + // not going any later than GLSL 150 since + // then we don't have gl_FragColor + return 150; } // compile a GLSL shader |