mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 20:12:08 +02:00
Fixing PR build
This commit is contained in:
parent
861200db27
commit
ecaf162afb
2 changed files with 3 additions and 4 deletions
|
@ -67,7 +67,6 @@ OffscreenSurface::OffscreenSurface()
|
||||||
|
|
||||||
OffscreenSurface::~OffscreenSurface() {
|
OffscreenSurface::~OffscreenSurface() {
|
||||||
delete _sharedObject;
|
delete _sharedObject;
|
||||||
const_cast<SharedObject*>(_sharedObject) = nullptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {
|
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {
|
||||||
|
|
|
@ -453,8 +453,8 @@ protected:
|
||||||
return vec3();
|
return vec3();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isAboutToQuit() const override { return false; }
|
void postLambdaEvent(const std::function<void()>& f) override {}
|
||||||
void postLambdaEvent(std::function<void()> f) override {}
|
void sendLambdaEvent(const std::function<void()>& f) override {}
|
||||||
|
|
||||||
qreal getDevicePixelRatio() override {
|
qreal getDevicePixelRatio() override {
|
||||||
return 1.0f;
|
return 1.0f;
|
||||||
|
@ -469,7 +469,7 @@ protected:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<void*, std::function<void()>> _postUpdateLambdas;
|
std::map<void*, std::function<void()>> _postUpdateLambdas;
|
||||||
void pushPostUpdateLambda(void* key, std::function<void()> func) override {
|
void pushPostUpdateLambda(void* key, const std::function<void()>& func) override {
|
||||||
_postUpdateLambdas[key] = func;
|
_postUpdateLambdas[key] = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue