summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-01-04 12:08:16 -0500
committer AJR <ajrhacker@users.noreply.github.com>2021-01-04 12:15:09 -0500
commitc231ee373a461ee8555b2df25e68efea4506229d (patch)
tree30cfd37e502317b69d3695bc74aebaacc5756418 /src/osd/modules/render
parent687e7e162dbadc4b4d0ca58343493f15a0cdabbc (diff)
render.h, rendlay.h: Dependency refactoring
- render.h: Split out layout class declarations into rendlay.h, with some adjustments for the resulting incomplete types (std::reference_wrapper unfortunately does not allow these by C++17 rules) - rendlay.h: Move old header contents to layout/generic.h
Diffstat (limited to 'src/osd/modules/render')
-rw-r--r--src/osd/modules/render/bgfx/chain.cpp1
-rw-r--r--src/osd/modules/render/d3d/d3dhlsl.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/modules/render/bgfx/chain.cpp b/src/osd/modules/render/bgfx/chain.cpp
index d75b9b296dd..6ff13cffebb 100644
--- a/src/osd/modules/render/bgfx/chain.cpp
+++ b/src/osd/modules/render/bgfx/chain.cpp
@@ -19,6 +19,7 @@
#include "chainmanager.h"
#include "target.h"
#include "vertex.h"
+#include "rendlay.h"
#include "screen.h"
#include "clear.h"
#include "modules/osdwindow.h"
diff --git a/src/osd/modules/render/d3d/d3dhlsl.cpp b/src/osd/modules/render/d3d/d3dhlsl.cpp
index b572c77de23..c082bddb5bf 100644
--- a/src/osd/modules/render/d3d/d3dhlsl.cpp
+++ b/src/osd/modules/render/d3d/d3dhlsl.cpp
@@ -10,6 +10,7 @@
#include "emu.h"
#include "drivenum.h"
#include "render.h"
+#include "rendlay.h"
#include "rendutil.h"
#include "emuopts.h"
#include "aviio.h"