diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-17 23:47:12 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-17 23:47:12 +0100 |
| commit | 1c50a11688451049185baae3109ddc87a268a75e (patch) | |
| tree | 987110656a2479d05f38bbfd95dbebc3bf1fd3e5 /src/render/OpenGL.hpp | |
| parent | 385fe4e301ce2c0a408048f6c3d6724ad78d15d4 (diff) | |
opengl: keep current rendered workspace in renderData
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index 624878ff..be65cb85 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -65,7 +65,8 @@ struct SMonitorRenderData { }; struct SCurrentRenderData { - CMonitor* pMonitor = nullptr; + CMonitor* pMonitor = nullptr; + CWorkspace* pWorkspace = nullptr; float projection[9]; float savedProjection[9]; |
