mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 21:40:42 +00:00
move depth define to header, missing on mac
This commit is contained in:
parent
a05e029aa0
commit
27d2daabc1
@ -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…
x
Reference in New Issue
Block a user