+ if(is_version_at_least(3, 0) || is_supported("GL_ARB_framebuffer_object"))
+ {
+ glBlitFramebuffer = reinterpret_cast<PFNGLBLITFRAMEBUFFERPROC>(get_proc_address("glBlitFramebuffer"));
+ return Extension::CORE;
+ }
+ if(is_supported("GL_EXT_framebuffer_blit"))
+ {
+ glBlitFramebuffer = reinterpret_cast<PFNGLBLITFRAMEBUFFERPROC>(get_proc_address("glBlitFramebufferEXT"));
+ return Extension::EXTENSION;
+ }
+ return Extension::UNSUPPORTED;