]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/frameformat_backend.h
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / backends / opengl / frameformat_backend.h
diff --git a/source/backends/opengl/frameformat_backend.h b/source/backends/opengl/frameformat_backend.h
new file mode 100644 (file)
index 0000000..a0197f5
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef MSP_GL_FRAMEFORMAT_BACKEND_H_
+#define MSP_GL_FRAMEFORMAT_BACKEND_H_
+
+#ifndef MSP_GL_FRAMEFORMAT_H_
+#error "frameformat_backend.h requires frameformat.h"
+#endif
+
+namespace Msp {
+namespace GL {
+
+unsigned get_gl_attachment(FrameAttachment);
+unsigned get_gl_buffer_bits(const FrameFormat &);
+
+} // namespace GL
+} // namespace Msp
+
+#endif