X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=init.cpp;h=5e6c6427e45d7155ab2032652e0af554010be115;hp=44dd7231011d6edccd6988291dee26ff0f49f291;hb=eff011224abc5dc81f801f3ea44572287a55bcac;hpb=f34b1c36acd27944f00885edfc55363432bfec8e diff --git a/init.cpp b/init.cpp index 44dd723..5e6c642 100644 --- a/init.cpp +++ b/init.cpp @@ -318,7 +318,8 @@ bool check_extensions() (epoxy_is_desktop_gl() && (epoxy_gl_version() >= 43 || (epoxy_has_gl_extension("GL_ARB_compute_shader") && - epoxy_has_gl_extension("GL_ARB_shader_image_load_store")))); + epoxy_has_gl_extension("GL_ARB_shader_image_load_store") && + epoxy_has_gl_extension("GL_ARB_shader_image_size")))); return true; } @@ -351,6 +352,18 @@ double get_glsl_version() return glsl_version; } +void APIENTRY debug_callback(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const char *message, + const void *userParam) +#ifdef __GNUC__ + __attribute__((unused)) +#endif +; + void APIENTRY debug_callback(GLenum source, GLenum type, GLuint id,