mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:39:42 +00:00
add back some explicit includes
This commit is contained in:
parent
8358418555
commit
803195a05f
3 changed files with 4 additions and 2 deletions
|
@ -151,7 +151,7 @@ namespace MWRender
|
|||
mStateset->setRenderBinDetails(0, "RenderBin", osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);
|
||||
mStateset->setAttribute(new osg::VertexAttribDivisor(6, 1));
|
||||
mStateset->setAttribute(new osg::VertexAttribDivisor(7, 1));
|
||||
|
||||
|
||||
mProgramTemplate = mSceneManager->getShaderManager().getProgramTemplate() ? static_cast<osg::Program*>(mSceneManager->getShaderManager().getProgramTemplate()->clone(osg::CopyOp::SHALLOW_COPY)) : new osg::Program;
|
||||
mProgramTemplate->addBindAttribLocation("aOffset", 6);
|
||||
mProgramTemplate->addBindAttribLocation("aRotation", 7);
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace Shader
|
|||
void createProgram(const ShaderRequirements& reqs);
|
||||
void ensureFFP(osg::Node& node);
|
||||
bool adjustGeometry(osg::Geometry& sourceGeometry, const ShaderRequirements& reqs);
|
||||
|
||||
|
||||
osg::ref_ptr<const osg::Program> mProgramTemplate;
|
||||
};
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <osgUtil/CullVisitor>
|
||||
#include <osg/ShapeDrawable>
|
||||
#include <osg/PolygonMode>
|
||||
#include <osg/Geode>
|
||||
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
|
@ -12,6 +13,7 @@
|
|||
#include <components/sceneutil/positionattitudetransform.hpp>
|
||||
#include <components/loadinglistener/reporter.hpp>
|
||||
#include <components/resource/resourcesystem.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
|
||||
#include "quadtreenode.hpp"
|
||||
#include "storage.hpp"
|
||||
|
|
Loading…
Reference in a new issue