Update gl.cpp

This commit is contained in:
Nikita Lisitsa 2022-08-14 22:40:20 +03:00
parent 8d6cf511aa
commit 19d8637f7a
2 changed files with 3 additions and 0 deletions

View file

@ -1866,6 +1866,7 @@ namespace gl
int major_version();
int minor_version();
bool has_extension(const char * name);
bool ext_ARB_compute_shader();
bool ext_ARB_shader_image_load_store();
bool ext_ARB_texture_filter_anisotropic();

View file

@ -1270,6 +1270,8 @@ namespace gl
int minor_version(){ return 3; }
bool has_extension(const char * name){ return extensions.contains(name); }
bool ext_ARB_compute_shader(){ return ext_GL_ARB_compute_shader_loaded; }
bool ext_ARB_shader_image_load_store(){ return ext_GL_ARB_shader_image_load_store_loaded; }
bool ext_ARB_texture_filter_anisotropic(){ return ext_GL_ARB_texture_filter_anisotropic_loaded; }