1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 00:15:06 +00:00

Restore false-positive unused includes

They're needed on MacOS as SDL_opengl_gletx.h doesn't define them there.

They don't actually work on MacOS, so long-term, the code that uses
these defines should be changed to use #ifdef to check they're available
before using them.
This commit is contained in:
AnyOldName3 2022-10-13 00:49:24 +01:00
parent 77de37b1ed
commit 15c51dcbbc
4 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#include <components/misc/strings/algorithm.hpp>
#include <components/misc/strings/lower.hpp>
#include <components/resource/scenemanager.hpp>
#include <components/sceneutil/color.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/sceneutil/nodecallback.hpp>
#include <components/settings/settings.hpp>

View File

@ -9,6 +9,8 @@
#include <osg/Image>
#include <osg/Texture>
#include <components/sceneutil/color.hpp>
#include "technique.hpp"
namespace fx

View File

@ -15,6 +15,7 @@
#include <map>
#include <string>
#include <components/sceneutil/color.hpp>
#include <components/sceneutil/mwshadowtechnique.hpp>
#include <components/settings/settings.hpp>

View File

@ -19,6 +19,7 @@
#include <components/misc/constants.hpp>
#include <components/sceneutil/color.hpp>
#include <components/sceneutil/depth.hpp>
#include <components/sceneutil/statesetupdater.hpp>