mirror of https://github.com/mosra/magnum.git
Browse Source
Even if the extension specification describes the minimum required version as GL 2.1 (or doesn't mention it at all), most compilers can't handle `layout(...)` before input/output declaration. These drivers mark the extensions as supported on GL < 3.1, but then can't handle them at all: Mesa fails to compile it with GLSL 1.20, NVidia fails with GLSL 1.30. Also updated `EXPLICIT_*` defines in Shaders/compatibility.glsl to reflect this change.pull/23/head
2 changed files with 25 additions and 7 deletions
Loading…
Reference in new issue