X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fframeformat_backend.h;fp=source%2Fbackends%2Fopengl%2Fframeformat_backend.h;h=a0197f5bf06104d9595baef880b3fa753fcc72a0;hb=160e9eea29bd10034733d59507fa1bcca36be401;hp=0000000000000000000000000000000000000000;hpb=93448d16e72e38afbaecbccf6fdedd46d6a82a73;p=libs%2Fgl.git diff --git a/source/backends/opengl/frameformat_backend.h b/source/backends/opengl/frameformat_backend.h new file mode 100644 index 00000000..a0197f5b --- /dev/null +++ b/source/backends/opengl/frameformat_backend.h @@ -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