From 3eb540fbe7b98d2e1059a13d4eacea294c12b609 Mon Sep 17 00:00:00 2001 From: Roy Date: Mon, 6 Jan 2020 15:02:14 +0800 Subject: [PATCH] Add missing extension defination This micro should been defined 1, if opengl 2.0 is required. --- glslang/MachineIndependent/Versions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/Versions.cpp b/glslang/MachineIndependent/Versions.cpp index 23f7423..dce8681 100644 --- a/glslang/MachineIndependent/Versions.cpp +++ b/glslang/MachineIndependent/Versions.cpp @@ -338,7 +338,6 @@ void TParseVersions::getPreamble(std::string& preamble) // AEP "#define GL_ANDROID_extension_pack_es31a 1\n" - "#define GL_KHR_blend_equation_advanced 1\n" "#define GL_OES_sample_variables 1\n" "#define GL_OES_shader_image_atomic 1\n" "#define GL_OES_shader_multisample_interpolation 1\n" @@ -505,6 +504,7 @@ void TParseVersions::getPreamble(std::string& preamble) preamble += "#define GL_GOOGLE_cpp_style_line_directive 1\n" "#define GL_GOOGLE_include_directive 1\n" + "#define GL_KHR_blend_equation_advanced 1\n" ; #endif -- 2.7.4