diff --git a/src/Context.cpp b/src/Context.cpp index 2b2eddd68..48cf17e56 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -38,7 +38,10 @@ const std::vector& Extension::extensions(Version version) { static const std::vector empty; #ifndef MAGNUM_TARGET_GLES static const std::vector extensions{ - _extension(GL,EXT,texture_filter_anisotropic)}; + _extension(GL,AMD,vertex_shader_layer), + _extension(GL,AMD,shader_trinary_minmax), + _extension(GL,EXT,texture_filter_anisotropic), + _extension(GL,EXT,direct_state_access)}; static const std::vector extensions300{ _extension(GL,APPLE,flush_buffer_range), _extension(GL,APPLE,vertex_array_object), diff --git a/src/Extensions.h b/src/Extensions.h index 472b45a91..7551d8946 100644 --- a/src/Extensions.h +++ b/src/Extensions.h @@ -48,6 +48,9 @@ namespace Extensions { constexpr static Version coreVersion() { return Version::_coreVersion; } \ constexpr static const char* string() { return #prefix "_" #vendor "_" #extension; } \ }; + +/* IMPORTANT: don't forget to add new extensions also in Context.cpp */ + namespace GL { #line 1 namespace AMD {