]> git.tdb.fi Git - libs/gl.git/blobdiff - source/ext_framebuffer_blit.cpp
Do not store generated files in the repository
[libs/gl.git] / source / ext_framebuffer_blit.cpp
diff --git a/source/ext_framebuffer_blit.cpp b/source/ext_framebuffer_blit.cpp
deleted file mode 100644 (file)
index 6fec8a6..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "ext_framebuffer_blit.h"
-
-namespace Msp {
-namespace GL {
-
-PFNGLBLITFRAMEBUFFEREXTPROC glBlitFramebuffer = 0;
-
-Extension::SupportLevel init_ext_framebuffer_blit()
-{
-       if(is_version_at_least(3, 0) || is_supported("GL_ARB_framebuffer_object"))
-       {
-               glBlitFramebuffer = reinterpret_cast<PFNGLBLITFRAMEBUFFEREXTPROC>(get_proc_address("glBlitFramebuffer"));
-               return Extension::CORE;
-       }
-       if(is_supported("GL_EXT_framebuffer_blit"))
-       {
-               glBlitFramebuffer = reinterpret_cast<PFNGLBLITFRAMEBUFFEREXTPROC>(get_proc_address("glBlitFramebufferEXT"));
-               return Extension::EXTENSION;
-       }
-       return Extension::UNSUPPORTED;
-}
-
-Extension EXT_framebuffer_blit("GL_EXT_framebuffer_blit", init_ext_framebuffer_blit);
-
-} // namespace GL
-} // namespace Msp