mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-04 20:49:42 +00:00
Merge branch 'maybe-reintroduce-5904' into 'master'
Fix crash on startup See merge request OpenMW/openmw!709
This commit is contained in:
commit
ff46eceabe
1 changed files with 3 additions and 1 deletions
|
@ -266,7 +266,9 @@ bool attachAlphaToCoverageFriendlyFramebufferToCamera(osg::Camera* camera, osg::
|
||||||
{
|
{
|
||||||
#if OSG_VERSION_LESS_THAN(3, 6, 6)
|
#if OSG_VERSION_LESS_THAN(3, 6, 6)
|
||||||
// hack fix for https://github.com/openscenegraph/OpenSceneGraph/issues/1028
|
// hack fix for https://github.com/openscenegraph/OpenSceneGraph/issues/1028
|
||||||
osg::GLExtensions::Get(0, false)->glRenderbufferStorageMultisampleCoverageNV = nullptr;
|
osg::ref_ptr<osg::GLExtensions> extensions = osg::GLExtensions::Get(0, false);
|
||||||
|
if (extensions)
|
||||||
|
extensions->glRenderbufferStorageMultisampleCoverageNV = nullptr;
|
||||||
#endif
|
#endif
|
||||||
unsigned int samples = 0;
|
unsigned int samples = 0;
|
||||||
unsigned int colourSamples = 0;
|
unsigned int colourSamples = 0;
|
||||||
|
|
Loading…
Reference in a new issue