mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 15:39:49 +00:00
move depth define to header, missing on mac
This commit is contained in:
parent
a05e029aa0
commit
27d2daabc1
2 changed files with 4 additions and 4 deletions
|
@ -6,10 +6,6 @@
|
|||
|
||||
#include <components/settings/settings.hpp>
|
||||
|
||||
#ifndef GL_DEPTH32F_STENCIL8_NV
|
||||
#define GL_DEPTH32F_STENCIL8_NV 0x8DAC
|
||||
#endif
|
||||
|
||||
namespace SceneUtil
|
||||
{
|
||||
void setCameraClearDepth(osg::Camera* camera)
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
#include "util.hpp"
|
||||
|
||||
#ifndef GL_DEPTH32F_STENCIL8_NV
|
||||
#define GL_DEPTH32F_STENCIL8_NV 0x8DAC
|
||||
#endif
|
||||
|
||||
namespace SceneUtil
|
||||
{
|
||||
// Sets camera clear depth to 0 if reversed depth buffer is in use, 1 otherwise.
|
||||
|
|
Loading…
Reference in a new issue