]> git.tdb.fi Git - libs/gl.git/blob - source/offscreenview.cpp
Support BGR and BGRA as texture formats through swizzling
[libs/gl.git] / source / offscreenview.cpp
1 #include "offscreenview.h"
2 #include "rendertarget.h"
3
4 namespace Msp {
5 namespace GL {
6
7 OffscreenView::OffscreenView(Framebuffer &t):
8         View(t)
9 { }
10
11 OffscreenView::OffscreenView(RenderTarget &t):
12         View(t.get_framebuffer())
13 { }
14
15 } // namespace GL
16 } // namespace Msp