]> git.tdb.fi Git - libs/gl.git/blobdiff - source/ext_framebuffer_blit.cpp
Add EXT_framebuffer_blit and EXT_framebuffer_multisample
[libs/gl.git] / source / ext_framebuffer_blit.cpp
diff --git a/source/ext_framebuffer_blit.cpp b/source/ext_framebuffer_blit.cpp
new file mode 100644 (file)
index 0000000..613f514
--- /dev/null
@@ -0,0 +1,15 @@
+#include "extension.h"
+#include "ext_framebuffer_blit.h"
+
+namespace Msp {
+namespace GL {
+
+PFNGLBLITFRAMEBUFFEREXTPROC glBlitFramebufferEXT=0;
+
+void init_ext_framebuffer_blit()
+{
+       glBlitFramebufferEXT=reinterpret_cast<PFNGLBLITFRAMEBUFFEREXTPROC>(get_proc_address("glBlitFramebufferEXT"));
+}
+
+} // namespace GL
+} // namespace Msp