mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Removing oglplus requirement for linux and mac
This commit is contained in:
parent
e9587d90c4
commit
5680d58a19
2 changed files with 8 additions and 6 deletions
|
@ -177,7 +177,6 @@ ovrLayerEyeFov OculusManager::_sceneLayer;
|
|||
|
||||
#else
|
||||
|
||||
BasicFramebufferWrapper* _transferFbo;
|
||||
ovrTexture OculusManager::_eyeTextures[ovrEye_Count];
|
||||
GlWindow* OculusManager::_outputWindow{ nullptr };
|
||||
|
||||
|
@ -310,10 +309,6 @@ void OculusManager::connect(QOpenGLContext* shareContext) {
|
|||
}
|
||||
_outputWindow->showFullScreen();
|
||||
_outputWindow->makeCurrent();
|
||||
_transferFbo = new BasicFramebufferWrapper();
|
||||
_transferFbo->Init(toGlm(_renderTargetSize));
|
||||
|
||||
|
||||
|
||||
ovrGLConfig cfg;
|
||||
memset(&cfg, 0, sizeof(cfg));
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
//
|
||||
#pragma once
|
||||
|
||||
// FIXME support oglplus on all platforms
|
||||
// For now it's a convenient helper for Windows
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include "GLMHelpers.h"
|
||||
|
||||
#define OGLPLUS_USE_GLCOREARB_H 0
|
||||
|
@ -163,4 +169,5 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
using BasicFramebufferWrapperPtr = std::shared_ptr<BasicFramebufferWrapper>;
|
||||
using BasicFramebufferWrapperPtr = std::shared_ptr<BasicFramebufferWrapper>;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue