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