X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=util.cpp;h=9c077e92909d639f203299b3162f805c8bd975e3;hp=3f59edfbce359e752eaa7786fdd6e10636052c36;hb=d4cade9004a527206e1360ae24f833a6bcf6d476;hpb=5b08f06cd4547102186932ce789788e07ea8fd8c diff --git a/util.cpp b/util.cpp index 3f59edf..9c077e9 100644 --- a/util.cpp +++ b/util.cpp @@ -129,6 +129,8 @@ string read_version_dependent_file(const string &base, const string &extension) { if (movit_shader_model == MOVIT_GLSL_130) { return read_file(base + ".130." + extension); + } else if (movit_shader_model == MOVIT_GLSL_150) { + return read_file(base + ".150." + extension); } else if (movit_shader_model == MOVIT_ESSL_300) { return read_file(base + ".300es." + extension); } else {