mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-31 08:51:03 +02:00
fixed gamma on quest
This commit is contained in:
parent
0d543b0f3e
commit
301791c07e
2 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,10 @@ void OculusMobileDisplayPlugin::uncustomizeContext() {
|
||||||
Parent::uncustomizeContext();
|
Parent::uncustomizeContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpu::Element OculusMobileDisplayPlugin::getCompositeFBColorSpace() {
|
||||||
|
return gpu::Element::COLOR_SRGBA_32;
|
||||||
|
}
|
||||||
|
|
||||||
QRectF OculusMobileDisplayPlugin::getPlayAreaRect() {
|
QRectF OculusMobileDisplayPlugin::getPlayAreaRect() {
|
||||||
QRectF result;
|
QRectF result;
|
||||||
VrHandler::withOvrMobile([&](ovrMobile* session){
|
VrHandler::withOvrMobile([&](ovrMobile* session){
|
||||||
|
|
|
@ -44,6 +44,8 @@ public:
|
||||||
void init() override;
|
void init() override;
|
||||||
void deinit() override;
|
void deinit() override;
|
||||||
|
|
||||||
|
virtual gpu::Element getCompositeFBColorSpace() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const QString getName() const override { return NAME; }
|
const QString getName() const override { return NAME; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue