diff options
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index b81fd0f8..e3350c15 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -33,8 +33,10 @@ inline const float fanVertsFull[] = { struct SMonitorRenderData { CFramebuffer primaryFB; - CFramebuffer mirrorFB; - CFramebuffer mirrorSwapFB; + CFramebuffer mirrorFB; // these are used for some effects, + CFramebuffer mirrorSwapFB; // etc + + CFramebuffer monitorMirrorFB; // used for mirroring outputs CTexture stencilTex; @@ -102,6 +104,9 @@ public: void preWindowPass(); void preRender(CMonitor*); + void saveBufferForMirror(); + void renderMirrored(); + SCurrentRenderData m_RenderData; GLint m_iCurrentOutputFb = 0; |
